diff options
author | Kim F. Storm <storm@cua.dk> | 2006-03-10 08:10:24 +0000 |
---|---|---|
committer | Kim F. Storm <storm@cua.dk> | 2006-03-10 08:10:24 +0000 |
commit | b4181b015a221c98cbd2b973a9db7b04e7242e29 (patch) | |
tree | 6a7d06263b637035144aca569823bb9caef8680c /src/alloc.c | |
parent | 68f632a816cd33ea82266d8b83ba74bac71a1ea8 (diff) | |
download | emacs-b4181b015a221c98cbd2b973a9db7b04e7242e29.tar.gz |
(USE_POSIX_MEMALIGN): Fix last change.
Diffstat (limited to 'src/alloc.c')
-rw-r--r-- | src/alloc.c | 4 |
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) /* 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) |