diff --git a/amxmodx/amx.h b/amxmodx/amx.h index 646a93a1..3d03d42e 100755 --- a/amxmodx/amx.h +++ b/amxmodx/amx.h @@ -21,7 +21,8 @@ * Version: $Id$ */ -#define LINUX +// JIT used +//#define JIT #if defined __linux__ #include #endif @@ -120,6 +121,14 @@ extern "C" { #error Unsupported cell size (SMALL_CELL_SIZE) #endif +#if SMALL_CELL_SIZE==32 + #define REAL float +#elif SMALL_CELL_SIZE==64 + #define REAL double +#else + #error Unsupported cell size +#endif + #define UNPACKEDMAX ((1 << (sizeof(cell)-1)*8) - 1) struct tagAMX;