HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68f632a
)
(USE_POSIX_MEMALIGN): Fix last change.
author
Kim F. Storm
<storm@cua.dk>
Fri, 10 Mar 2006 08:10:24 +0000
(08:10 +0000)
committer
Kim F. Storm
<storm@cua.dk>
Fri, 10 Mar 2006 08:10:24 +0000
(08:10 +0000)
src/alloc.c
patch
|
blob
|
blame
|
history
diff --git
a/src/alloc.c
b/src/alloc.c
index
ee84bd2
..
e3b65c1
100644
(file)
--- 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)