emscripten compilation fix

This commit is contained in:
BADIM-PC\Vadim 2017-12-23 19:16:29 +03:00
parent 913d4759cf
commit 59fe65f133
1 changed files with 6 additions and 2 deletions

View File

@ -47,6 +47,12 @@ typedef enum
JavaScript,
} ScriptLang;
#if defined(__WINDOWS__) || defined(__LINUX__) || defined(__MACOSX__)
#define CAN_EXPORT 1
#endif
#if defined(CAN_EXPORT)
static const char TicCartSig[] = "TIC.CART";
#define SIG_SIZE (sizeof TicCartSig-1)
@ -57,8 +63,6 @@ typedef struct
s32 cartSize;
} EmbedHeader;
#if defined(__WINDOWS__) || defined(__LINUX__) || defined(__MACOSX__)
#define CAN_EXPORT 1
#endif
#if defined(__WINDOWS__)