From 2d3b42955971bb509dd6ee7287704e4e2db57080 Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Fri, 26 Apr 1991 22:56:08 +0000 Subject: [PATCH] gmalloc.c: #if 0 out !HAVE_GETPAGESIZE code. * gmalloc.c [!HAVE_GETPAGESIZE]: Try to figure out the pagesize. --- gdb/gmalloc.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gdb/gmalloc.c b/gdb/gmalloc.c index a201e9a802..e7890c2520 100755 --- a/gdb/gmalloc.c +++ b/gdb/gmalloc.c @@ -1093,6 +1093,10 @@ DEFUN(__default_morecore, (size), ptrdiff_t size) #include #endif /* __ONEFILE */ +#if 0 +/* On SunOS 4.1.1, typedefs size_t, which is bad since + we typedef it above. Maybe it's better just to have people compile + -Dgetpagesize()=4096. */ /* Deal with page size. */ #ifdef BSD #ifndef BSD4_1 @@ -1125,6 +1129,7 @@ DEFUN_VOID(__getpagesize) return PAGESIZE; } #endif /* not HAVE_GETPAGESIZE */ +#endif /* 0 */ extern size_t EXFUN(__getpagesize, (NOARGS)); -- 2.34.1