diff options
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/system.h | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 71efb3670c2..02477ba355d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2004-09-27 Eric Botcazou <ebotcazou@libertysurf.fr> + + * system.h (getpagesize): Return 'int' instead of 'long'. + 2004-09-27 Michael Matz <matz@suse.de> PR bootstrap/17698 diff --git a/gcc/system.h b/gcc/system.h index 191e1b102c6..7e002a1157c 100644 --- a/gcc/system.h +++ b/gcc/system.h @@ -303,8 +303,8 @@ extern char *getenv (const char *); extern int getopt (int, char * const *, const char *); #endif -#if defined(HAVE_DECL_GETPAGESIZE) && !HAVE_DECL_GETPAGESIZE -extern long getpagesize (void); +#if defined (HAVE_DECL_GETPAGESIZE) && !HAVE_DECL_GETPAGESIZE +extern int getpagesize (void); #endif #if defined (HAVE_DECL_GETWD) && !HAVE_DECL_GETWD |