[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/alloc.c
From: |
Kim F. Storm |
Subject: |
[Emacs-diffs] Changes to emacs/src/alloc.c |
Date: |
Fri, 10 Mar 2006 08:10:24 +0000 |
Index: emacs/src/alloc.c
diff -u emacs/src/alloc.c:1.392 emacs/src/alloc.c:1.393
--- emacs/src/alloc.c:1.392 Thu Mar 9 23:06:58 2006
+++ emacs/src/alloc.c Fri Mar 10 08:10:24 2006
@@ -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)