aboutsummaryrefslogtreecommitdiff
path: root/lib/config-win32.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2006-07-11 21:34:23 +0000
committerYang Tse <yangsita@gmail.com>2006-07-11 21:34:23 +0000
commitfe22872d14c3b6b63ac27a9017ed9695ac3b932b (patch)
tree13371b16e69390845b8227c183cfae2ba5b29f56 /lib/config-win32.h
parent4d95d23d99a35a098cdc17f91b36d41dab98a30c (diff)
include <malloc.h> only if HAVE_MALLOC_H and NEED_MALLOC_H are both defined.
Diffstat (limited to 'lib/config-win32.h')
-rw-r--r--lib/config-win32.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/config-win32.h b/lib/config-win32.h
index 891183a14..bda87752e 100644
--- a/lib/config-win32.h
+++ b/lib/config-win32.h
@@ -41,6 +41,11 @@
#define HAVE_MALLOC_H 1
#endif
+/* Define if you need the malloc.h header file. */
+#ifndef __SALFORDC__
+#define NEED_MALLOC_H 1
+#endif
+
/* Define if you have the <netdb.h> header file. */
/* #define HAVE_NETDB_H 1 */