[uClibc-cvs] CVS update of uClibc/libc/stdlib/malloc-standard (malloc.h)
Erik Andersen
andersen at codepoet.org
Thu Jul 15 08:31:31 UTC 2004
Date: Thursday, July 15, 2004 @ 02:31:31
Author: andersen
Path: /var/cvs/uClibc/libc/stdlib/malloc-standard
Modified: malloc.h (1.2 -> 1.3)
_SC_PAGESIZE is standard. Some ancient legacy unix variants used _SC_PAGE_SIZE
instead, but we are not such a system and should not propagate such things.
Index: uClibc/libc/stdlib/malloc-standard/malloc.h
diff -u uClibc/libc/stdlib/malloc-standard/malloc.h:1.2 uClibc/libc/stdlib/malloc-standard/malloc.h:1.3
--- uClibc/libc/stdlib/malloc-standard/malloc.h:1.2 Thu Jul 15 02:06:25 2004
+++ uClibc/libc/stdlib/malloc-standard/malloc.h Thu Jul 15 02:31:31 2004
@@ -136,7 +136,7 @@
*/
#ifndef malloc_getpagesize
# include <unistd.h>
-# define malloc_getpagesize sysconf(_SC_PAGE_SIZE)
+# define malloc_getpagesize sysconf(_SC_PAGESIZE)
#else /* just guess */
# define malloc_getpagesize (4096)
#endif
More information about the uClibc-cvs
mailing list