diff options
| author | Kim F. Storm | 2006-03-10 08:10:24 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2006-03-10 08:10:24 +0000 |
| commit | b4181b015a221c98cbd2b973a9db7b04e7242e29 (patch) | |
| tree | 6a7d06263b637035144aca569823bb9caef8680c /src/alloc.c | |
| parent | 68f632a816cd33ea82266d8b83ba74bac71a1ea8 (diff) | |
| download | emacs-b4181b015a221c98cbd2b973a9db7b04e7242e29.tar.gz emacs-b4181b015a221c98cbd2b973a9db7b04e7242e29.zip | |
(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) | |||
| 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) |