Skip to content

Commit

Permalink
Fixed compile bug on Mac in PSDParser
Browse files Browse the repository at this point in the history
  • Loading branch information
durswd committed Jul 7, 2018
1 parent 5e8636c commit f015928
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dev/ImagePackageGenerator/PSDParser/psd/psd.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ extern "C" {

#include <stddef.h> /* size_t */
#include <limits.h> /* INT_MAX */
#include <stdio.h>
#include <stdint.h>

#ifdef PSD_PLATFORM_WIN32
#include <windows.h>
Expand All @@ -26,7 +28,8 @@ extern "C" {
#ifndef PSD_STATIC_ASSERT
#define PSD_STATIC_ASSERT(cond, message) _Static_assert((cond), (message))
#endif /* PSD_STATIC_ASSERT */
typedef rsize_t psd_rsize_t;
//typedef rsize_t psd_rsize_t;
typedef size_t psd_rsize_t;
#else
#define __PSD_SA_CONCAT(a, b) __PSD_SA_CONCAT2(a, b)
#define __PSD_SA_CONCAT2(a, b) a ## b
Expand Down

0 comments on commit f015928

Please sign in to comment.