mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-24 13:55:36 +03:00
memory manager compatibility
This commit is contained in:
parent
29e36fdee2
commit
8eae80c6e9
@ -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__
|
||||
|
Loading…
Reference in New Issue
Block a user