1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

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

This commit is contained in:
Yang Tse 2006-07-11 21:34:23 +00:00
parent 4d95d23d99
commit fe22872d14
16 changed files with 32 additions and 8 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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 */

View File

@ -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 */

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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>

View File

@ -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

View File

@ -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