aboutsummaryrefslogtreecommitdiffstats
path: root/src/gmalloc.c
diff options
context:
space:
mode:
authorKarl Heuer1997-03-01 17:55:39 +0000
committerKarl Heuer1997-03-01 17:55:39 +0000
commit47582ab34d8fa116cd46844927b877a2408e1ec3 (patch)
treebc6327404bd2da754f1a81c572d31abf70278ecb /src/gmalloc.c
parent74ad5c7fde70fae699f0ec355c6043a28f95c660 (diff)
downloademacs-47582ab34d8fa116cd46844927b877a2408e1ec3.tar.gz
emacs-47582ab34d8fa116cd46844927b877a2408e1ec3.zip
[__GLIBC__ >= 2]: Don't declare __getpagesize.
Diffstat (limited to 'src/gmalloc.c')
-rw-r--r--src/gmalloc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gmalloc.c b/src/gmalloc.c
index 7e7a8939238..ac51e2509fc 100644
--- a/src/gmalloc.c
+++ b/src/gmalloc.c
@@ -1612,7 +1612,11 @@ Cambridge, MA 02139, USA.
1612#if defined (__GNU_LIBRARY__) || defined (_LIBC) 1612#if defined (__GNU_LIBRARY__) || defined (_LIBC)
1613#include <stddef.h> 1613#include <stddef.h>
1614#include <sys/cdefs.h> 1614#include <sys/cdefs.h>
1615#if defined (__GLIBC__) && __GLIBC__ >= 2
1616/* __getpagesize is already declared in <unistd.h> with return type int */
1617#else
1615extern size_t __getpagesize __P ((void)); 1618extern size_t __getpagesize __P ((void));
1619#endif
1616#else 1620#else
1617#include "getpagesize.h" 1621#include "getpagesize.h"
1618#define __getpagesize() getpagesize() 1622#define __getpagesize() getpagesize()