Perhaps the real definition of __MALLOC_HOOK_VOLATILE should be added
authorUlrich Drepper <drepper@gmail.com>
Mon, 30 May 2011 00:43:54 +0000 (20:43 -0400)
committerUlrich Drepper <drepper@gmail.com>
Mon, 30 May 2011 00:43:54 +0000 (20:43 -0400)
malloc/malloc.h

index 5fc7a53..e8f6068 100644 (file)
@@ -40,7 +40,7 @@
 # ifdef _LIBC
 #  define __MALLOC_HOOK_VOLATILE
 # else
-#  define __MALLOC_HOOK_VOLATILE
+#  define __MALLOC_HOOK_VOLATILE __volatile
 # endif
 
 #else  /* Not GCC.  */