Second attempt to fix the use of aligned_alloc with BSD
This commit is contained in:
parent
4fa68fcd75
commit
b2cca974c1
|
@ -36,10 +36,11 @@
|
||||||
#if !defined(__USE_ISOC11)
|
#if !defined(__USE_ISOC11)
|
||||||
#define __USE_ISOC11
|
#define __USE_ISOC11
|
||||||
#endif
|
#endif
|
||||||
#include <stdlib.h>
|
|
||||||
#if defined(__ISO_C_VISIBLE) && __ISO_C_VISIBLE < 2011
|
#if defined(__ISO_C_VISIBLE) && __ISO_C_VISIBLE < 2011
|
||||||
|
#undef __ISO_C_VISIBLE
|
||||||
#define __ISO_C_VISIBLE 2011
|
#define __ISO_C_VISIBLE 2011
|
||||||
#endif
|
#endif
|
||||||
|
#include <stdlib.h>
|
||||||
#if defined(HAVE_MALLOC_H)
|
#if defined(HAVE_MALLOC_H)
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue