it seems that malloc.h is required for Cygwin only
and breaks building on other platforms
author |
Igor Sysoev <igor@sysoev.ru> |
date |
Sun, 23 Mar 2008 15:42:40 +0000 |
parents |
ce75aac647e7 |
children |
466fdc84c82d |
files |
auto/headers src/os/unix/ngx_posix_config.h |
diffstat |
2 files changed, 1 insertions(+), 2 deletions(-)
[+]
|
line diff
--- a/auto/headers Thu Mar 20 07:31:51 2008 +0000
+++ b/auto/headers Sun Mar 23 15:42:40 2008 +0000
@@ -7,4 +7,3 @@
ngx_include="limits.h"; . auto/include
ngx_include="sys/filio.h"; . auto/include
ngx_include="crypt.h"; . auto/include
-ngx_include="malloc.h"; . auto/include
--- a/src/os/unix/ngx_posix_config.h Thu Mar 20 07:31:51 2008 +0000
+++ b/src/os/unix/ngx_posix_config.h Sun Mar 23 15:42:40 2008 +0000
@@ -70,7 +70,7 @@
#include <limits.h> /* IOV_MAX */
#endif
-#if (NGX_HAVE_MALLOC_H)
+#ifdef __CYGWIN__
#include <malloc.h> /* memalign() */
#endif