comparison src/alloca.c @ 410:de805c49cfc1 r21-2-35

Import from CVS: tag r21-2-35
author cvs
date Mon, 13 Aug 2007 11:19:21 +0200
parents 850242ba4a81
children 697ef44129c6
comparison
equal deleted inserted replaced
409:301b9ebbdf3b 410:de805c49cfc1
84 # else 84 # else
85 void xfree (pointer); 85 void xfree (pointer);
86 # endif 86 # endif
87 #endif 87 #endif
88 88
89 #ifndef WINDOWSNT 89 #ifndef NULL
90 #define NULL 0 90 #define NULL 0
91 #endif 91 #endif
92 92
93 /* Different portions of Emacs need to call different versions of 93 /* Different portions of Emacs need to call different versions of
94 malloc. The Emacs executable needs alloca to call xmalloc, because 94 malloc. The Emacs executable needs alloca to call xmalloc, because
101 Callers below should use malloc. */ 101 Callers below should use malloc. */
102 102
103 #ifndef emacs 103 #ifndef emacs
104 #define malloc xmalloc 104 #define malloc xmalloc
105 #endif 105 #endif
106 #ifndef WINDOWSNT 106 #ifndef WIN32_NATIVE
107 extern pointer malloc (); 107 extern pointer malloc ();
108 #else 108 #else
109 extern void *malloc(); 109 extern void *malloc();
110 #endif 110 #endif
111 111