memory manager compatibility
This commit is contained in:
		| @@ -21,6 +21,12 @@ | ||||
| #include <stdio.h>      /* for NULL */ | ||||
| #include <assert.h> | ||||
| #include <math.h> | ||||
|  | ||||
| // this file does not include amxmodx.h, so we have to include the memory manager here | ||||
| #ifdef MEMORY_TEST | ||||
| #include "mmgr/mmgr.h" | ||||
| #endif // MEMORY_TEST | ||||
|  | ||||
| #include "amx.h" | ||||
|  | ||||
| /* | ||||
| @@ -29,14 +35,6 @@ | ||||
|   #endif | ||||
| */ | ||||
|  | ||||
| #if SMALL_CELL_SIZE==32 | ||||
|   #define REAL          float | ||||
| #elif SMALL_CELL_SIZE==64 | ||||
|   #define REAL          double | ||||
| #else | ||||
|   #error Unsupported cell size | ||||
| #endif | ||||
|  | ||||
| #define PI  3.1415926535897932384626433832795 | ||||
|  | ||||
| #if defined __BORLANDC__ || defined __WATCOMC__ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user