comparison src/gmalloc.c @ 282:c42ec1d1cded r21-0b39

Import from CVS: tag r21-0b39
author cvs
date Mon, 13 Aug 2007 10:33:18 +0200
parents c5d627a313b1
children e11d67e05968
comparison
equal deleted inserted replaced
281:090b52736db2 282:c42ec1d1cded
65 65
66 #ifdef HAVE_CONFIG_H 66 #ifdef HAVE_CONFIG_H
67 #include <config.h> 67 #include <config.h>
68 #endif 68 #endif
69 69
70 #if defined(_LIBC) || defined(STDC_HEADERS) || defined(USG)
71 #include <string.h> 70 #include <string.h>
72 #else
73 #ifndef memset
74 #define memset(s, zero, n) bzero ((s), (n))
75 #endif
76 #ifndef memcpy
77 #define memcpy(d, s, n) bcopy ((s), (d), (n))
78 #endif
79 #endif
80
81 #include <limits.h> 71 #include <limits.h>
82 72
83 #ifdef HAVE_UNISTD_H 73 #ifdef HAVE_UNISTD_H
84 #include <unistd.h> 74 #include <unistd.h>
85 #endif 75 #endif