aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/alloc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/alloc.c b/src/alloc.c
index ee84bd2fb29..e3b65c1a4f4 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -886,7 +886,9 @@ lisp_free (block)
886/* Use posix_memalloc if the system has it and we're using the system's 886/* Use posix_memalloc if the system has it and we're using the system's
887 malloc (because our gmalloc.c routines don't have posix_memalign although 887 malloc (because our gmalloc.c routines don't have posix_memalign although
888 its memalloc could be used). */ 888 its memalloc could be used). */
889#define USE_POSIX_MEMALIGN (HAVE_POSIX_MEMALIGN && SYSTEM_MALLOC) 889#if defined (HAVE_POSIX_MEMALIGN) && defined (SYSTEM_MALLOC)
890#define USE_POSIX_MEMALIGN 1
891#endif
890 892
891/* BLOCK_ALIGN has to be a power of 2. */ 893/* BLOCK_ALIGN has to be a power of 2. */
892#define BLOCK_ALIGN (1 << 10) 894#define BLOCK_ALIGN (1 << 10)