提交 b2cca974 authored 作者: Steve Underwood's avatar Steve Underwood

Second attempt to fix the use of aligned_alloc with BSD

上级 4fa68fcd
...@@ -36,10 +36,11 @@ ...@@ -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
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论