endif bug

This commit is contained in:
David Anderson 2004-09-06 22:25:43 +00:00
parent 7ed66f0b38
commit 711ad7b3dc

View File

@ -480,13 +480,14 @@ int AMXAPI amx_Debug(AMX *amx)
} }
#if defined JIT #if defined JIT
#if defined WIN32 || __cplusplus #if defined WIN32 || defined __cplusplus
extern "C" int AMXAPI getMaxCodeSize(void); extern "C" int AMXAPI getMaxCodeSize(void);
extern "C" int AMXAPI asm_runJIT(void *sourceAMXbase, void *jumparray, void *compiledAMXbase); extern "C" int AMXAPI asm_runJIT(void *sourceAMXbase, void *jumparray, void *compiledAMXbase);
#else #else
extern int AMXAPI getMaxCodeSize(void); extern int AMXAPI getMaxCodeSize(void);
extern int AMXAPI asm_runJIT(void *sourceAMXbase, void *jumparray, void *compiledAMXbase); extern int AMXAPI asm_runJIT(void *sourceAMXbase, void *jumparray, void *compiledAMXbase);
#endif #endif
#endif
#if SMALL_CELL_SIZE==16 #if SMALL_CELL_SIZE==16
#define JUMPABS(base,ip) ((cell *)(base+*ip)) #define JUMPABS(base,ip) ((cell *)(base+*ip))