diff src/alloc.c @ 69355:a685fca1ccb6

(USE_POSIX_MEMALIGN): Fix last change.
author Kim F. Storm <storm@cua.dk>
date Fri, 10 Mar 2006 08:10:24 +0000
parents 2c8e608f28e7
children 2d844bbbccd4 0cdee8b991e1 494bf720eaf0
line wrap: on
line diff
--- a/src/alloc.c	Fri Mar 10 08:08:55 2006 +0000
+++ b/src/alloc.c	Fri Mar 10 08:10:24 2006 +0000
@@ -886,7 +886,9 @@
 /* Use posix_memalloc if the system has it and we're using the system's
    malloc (because our gmalloc.c routines don't have posix_memalign although
    its memalloc could be used).  */
-#define USE_POSIX_MEMALIGN (HAVE_POSIX_MEMALIGN && SYSTEM_MALLOC)
+#if defined (HAVE_POSIX_MEMALIGN) && defined (SYSTEM_MALLOC)
+#define USE_POSIX_MEMALIGN 1
+#endif
 
 /* BLOCK_ALIGN has to be a power of 2.  */
 #define BLOCK_ALIGN (1 << 10)