comparison src/alloc.c @ 28374:7a3e8a76057b

Include stdio.h. Test STDC_HEADERS, not __STDC__.
author Dave Love <fx@gnu.org>
date Tue, 28 Mar 2000 11:08:24 +0000
parents a72abbd8dc16
children 451721e784a8
comparison
equal deleted inserted replaced
28373:4f656f055122 28374:7a3e8a76057b
18 along with GNU Emacs; see the file COPYING. If not, write to 18 along with GNU Emacs; see the file COPYING. If not, write to
19 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 19 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20 Boston, MA 02111-1307, USA. */ 20 Boston, MA 02111-1307, USA. */
21 21
22 #include <config.h> 22 #include <config.h>
23 #include <stdio.h>
23 24
24 /* Note that this declares bzero on OSF/1. How dumb. */ 25 /* Note that this declares bzero on OSF/1. How dumb. */
25 26
26 #include <signal.h> 27 #include <signal.h>
27 28
56 57
57 #else /* not DOUG_LEA_MALLOC */ 58 #else /* not DOUG_LEA_MALLOC */
58 59
59 /* The following come from gmalloc.c. */ 60 /* The following come from gmalloc.c. */
60 61
61 #if defined (__STDC__) && __STDC__ 62 #if defined (STDC_HEADERS)
62 #include <stddef.h> 63 #include <stddef.h>
63 #define __malloc_size_t size_t 64 #define __malloc_size_t size_t
64 #else 65 #else
65 #define __malloc_size_t unsigned int 66 #define __malloc_size_t unsigned int
66 #endif 67 #endif