memory manager compatibility

This commit is contained in:
Pavol Marko 2004-04-22 08:05:06 +00:00
parent 29e36fdee2
commit 8eae80c6e9

View File

@ -21,6 +21,12 @@
#include <stdio.h> /* for NULL */ #include <stdio.h> /* for NULL */
#include <assert.h> #include <assert.h>
#include <math.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" #include "amx.h"
/* /*
@ -29,14 +35,6 @@
#endif #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 #define PI 3.1415926535897932384626433832795
#if defined __BORLANDC__ || defined __WATCOMC__ #if defined __BORLANDC__ || defined __WATCOMC__