From: Ian Lance Taylor Date: Thu, 31 Jul 1997 23:39:26 +0000 (+0000) Subject: Don't compile getpagesize if __CYGWIN32__ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e3367a77fdd6d56301f02cece97b884c5ae70057;p=gcc.git Don't compile getpagesize if __CYGWIN32__ From-SVN: r14571 --- diff --git a/gcc/libgcc2.c b/gcc/libgcc2.c index adda3257f7e..8f853f226ff 100644 --- a/gcc/libgcc2.c +++ b/gcc/libgcc2.c @@ -2720,6 +2720,8 @@ __clear_cache (char *beg, char *end) #ifdef WINNT +#ifndef __CYGWIN32__ + long getpagesize() { #ifdef _ALPHA_ @@ -2729,6 +2731,8 @@ long getpagesize() #endif } +#endif + #ifdef i386 extern int VirtualProtect (char *, int, int, int *) __attribute__((stdcall)); #endif