]> code.delx.au - gnu-emacs/blobdiff - src/vm-limit.c
Improve --without-x GCC pacification
[gnu-emacs] / src / vm-limit.c
index 7eeca3c8250c104fea6d17818b8c42a1958568a6..58e7729186c53d242c1f9c28dc5773b985051125 100644 (file)
@@ -54,10 +54,10 @@ char data_start[1] = { 1 };
 #ifdef HAVE_MALLOC_H
 # include <malloc.h>
 #endif
-#ifndef __MALLOC_HOOK_VOLATILE
-# define __MALLOC_HOOK_VOLATILE volatile
-#endif
 #ifndef HAVE_MALLOC_H
+# ifndef __MALLOC_HOOK_VOLATILE
+#  define __MALLOC_HOOK_VOLATILE volatile
+# endif
 extern void *(*__morecore) (ptrdiff_t);
 extern void (*__MALLOC_HOOK_VOLATILE __after_morecore_hook) (void);
 #endif