mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-22 10:20:26 +01:00
There's no malloc.h on FreeBSD.
Like in OS X malloc() is part of stdlib.h.
This commit is contained in:
parent
08dae0c605
commit
d1d9c8d094
|
@ -21,7 +21,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
#if !PLATFORM_MACOSX
|
#if !defined(PLATFORM_MACOSX) && !defined(PLATFORM_FREEBSD)
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -38,7 +38,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
#include <search.h> // for qsort
|
#include <search.h> // for qsort
|
||||||
#include <float.h> // for FPU control
|
#include <float.h> // for FPU control
|
||||||
|
|
||||||
#if !PLATFORM_MACOSX
|
#if !defined(PLATFORM_MACOSX) && !defined(PLATFORM_FREEBSD)
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
#include <search.h> // for qsort
|
#include <search.h> // for qsort
|
||||||
#include <float.h> // for FPU control
|
#include <float.h> // for FPU control
|
||||||
|
|
||||||
#if !PLATFORM_MACOSX
|
#if !defined(PLATFORM_MACOSX) && !defined(PLATFORM_FREEBSD)
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user