Mercurial > hg > xemacs-beta
comparison src/alloca.c @ 412:697ef44129c6 r21-2-14
Import from CVS: tag r21-2-14
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:20:41 +0200 |
parents | de805c49cfc1 |
children |
comparison
equal
deleted
inserted
replaced
411:12e008d41344 | 412:697ef44129c6 |
---|---|
84 # else | 84 # else |
85 void xfree (pointer); | 85 void xfree (pointer); |
86 # endif | 86 # endif |
87 #endif | 87 #endif |
88 | 88 |
89 #ifndef NULL | 89 #ifndef WINDOWSNT |
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 WIN32_NATIVE | 106 #ifndef WINDOWSNT |
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 |