emscripten compilation fix
This commit is contained in:
@@ -47,6 +47,12 @@ typedef enum
|
|||||||
JavaScript,
|
JavaScript,
|
||||||
} ScriptLang;
|
} ScriptLang;
|
||||||
|
|
||||||
|
#if defined(__WINDOWS__) || defined(__LINUX__) || defined(__MACOSX__)
|
||||||
|
#define CAN_EXPORT 1
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(CAN_EXPORT)
|
||||||
|
|
||||||
static const char TicCartSig[] = "TIC.CART";
|
static const char TicCartSig[] = "TIC.CART";
|
||||||
#define SIG_SIZE (sizeof TicCartSig-1)
|
#define SIG_SIZE (sizeof TicCartSig-1)
|
||||||
|
|
||||||
@@ -57,8 +63,6 @@ typedef struct
|
|||||||
s32 cartSize;
|
s32 cartSize;
|
||||||
} EmbedHeader;
|
} EmbedHeader;
|
||||||
|
|
||||||
#if defined(__WINDOWS__) || defined(__LINUX__) || defined(__MACOSX__)
|
|
||||||
#define CAN_EXPORT 1
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__WINDOWS__)
|
#if defined(__WINDOWS__)
|
||||||
|
|||||||
Reference in New Issue
Block a user