Skip to content
Snippets Groups Projects
Commit fe22872d authored by Yang Tse's avatar Yang Tse
Browse files

include <malloc.h> only if HAVE_MALLOC_H and NEED_MALLOC_H are both defined.

parent 4d95d23d
No related branches found
No related tags found
No related merge requests found
......@@ -56,6 +56,8 @@
#define HAVE_ZLIB_H 1
#define HAVE_SYS_IOCTL_H 1
#define NEED_MALLOC_H 1
#define USE_OPENSSL 1
#define USE_SSLEAY 1
#define CURL_DISABLE_LDAP 1
......
......@@ -170,6 +170,9 @@
/* Define if you have the <malloc.h> header file. */
#define HAVE_MALLOC_H
/* Define if you need the malloc.h header file. */
/* #define NEED_MALLOC_H 1 */
/* Define if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
......
......@@ -290,6 +290,9 @@
/* Define to 1 if you have the <malloc.h> header file. */
/* #undef HAVE_MALLOC_H */
/* Define to 1 if you need the malloc.h header file. */
/* #undef NEED_MALLOC_H */
/* Define to 1 if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1
......
......@@ -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 */
......
......@@ -39,6 +39,9 @@
/* Define if you have the <malloc.h> header file. */
#define HAVE_MALLOC_H 1
/* Define if you need the malloc.h header file. */
#define NEED_MALLOC_H 1
/* Define if you have the <netdb.h> header file. */
/* #define HAVE_NETDB_H 1 */
......
......@@ -70,6 +70,8 @@
#define HAVE_UNISTD_H 1
#define HAVE_VPRINTF 1
#define NEED_MALLOC_H 1
#if (DJGPP_MINOR >= 4)
#define HAVE_STRLCAT 1
#endif
......
......@@ -25,7 +25,7 @@
#include <string.h>
#ifdef HAVE_MALLOC_H /* Win32 */
#if defined(HAVE_MALLOC_H) && defined(NEED_MALLOC_H)
#include <malloc.h>
#endif
#ifdef HAVE_SYS_TYPES_H
......
......@@ -25,7 +25,7 @@
#include <string.h>
#ifdef HAVE_MALLOC_H /* Win32 */
#if defined(HAVE_MALLOC_H) && defined(NEED_MALLOC_H)
#include <malloc.h>
#endif
#ifdef HAVE_SYS_TYPES_H
......
......@@ -25,7 +25,7 @@
#include <string.h>
#ifdef HAVE_MALLOC_H /* Win32 */
#if defined(HAVE_MALLOC_H) && defined(NEED_MALLOC_H)
#include <malloc.h>
#endif
#ifdef HAVE_SYS_TYPES_H
......
......@@ -26,7 +26,7 @@
#include <string.h>
#include <errno.h>
#ifdef HAVE_MALLOC_H /* Win32 */
#if defined(HAVE_MALLOC_H) && defined(NEED_MALLOC_H)
#include <malloc.h>
#endif
#ifdef HAVE_SYS_TYPES_H
......
......@@ -25,7 +25,7 @@
#include <string.h>
#ifdef HAVE_MALLOC_H
#if defined(HAVE_MALLOC_H) && defined(NEED_MALLOC_H)
#include <malloc.h>
#endif
#ifdef HAVE_SYS_TYPES_H
......
......@@ -25,7 +25,7 @@
#include <string.h>
#ifdef HAVE_MALLOC_H
#if defined(HAVE_MALLOC_H) && defined(NEED_MALLOC_H)
#include <malloc.h>
#endif
#ifdef HAVE_SYS_TYPES_H
......
......@@ -26,7 +26,7 @@
#include <string.h>
#include <errno.h>
#ifdef HAVE_MALLOC_H
#if defined(HAVE_MALLOC_H) && defined(NEED_MALLOC_H)
#include <malloc.h>
#endif
#ifdef HAVE_SYS_TYPES_H
......
......@@ -36,7 +36,7 @@
#ifdef HAVE_SYS_STAT_H
#include <sys/stat.h>
#endif
#ifdef HAVE_MALLOC_H
#if defined(HAVE_MALLOC_H) && defined(NEED_MALLOC_H)
#include <malloc.h>
#endif
#include <errno.h>
......
......@@ -115,6 +115,9 @@
/* Define if you have the <malloc.h> header file. */
#define HAVE_MALLOC_H 1
/* Define if you need the malloc.h header file. */
/* #define NEED_MALLOC_H 1 */
/* Define if you have the <net/if.h> header file. */
#define HAVE_NET_IF_H 1
......
......@@ -176,6 +176,9 @@
/* Define if you have the <malloc.h> header file. */
#define HAVE_MALLOC_H
/* Define to 1 if you need the malloc.h header file. */
/* #define NEED_MALLOC_H 1 */
/* Define if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment