diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 1997-07-31 23:39:26 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 1997-07-31 23:39:26 +0000 |
commit | e3367a77fdd6d56301f02cece97b884c5ae70057 (patch) | |
tree | c7b29e06b443ebead9d650067dc7772980efbdbe | |
parent | 1638ccd30515541a5399b4c3df95b666515dba47 (diff) | |
download | gcc-e3367a77fdd6d56301f02cece97b884c5ae70057.zip gcc-e3367a77fdd6d56301f02cece97b884c5ae70057.tar.gz gcc-e3367a77fdd6d56301f02cece97b884c5ae70057.tar.bz2 |
Don't compile getpagesize if __CYGWIN32__
From-SVN: r14571
-rw-r--r-- | gcc/libgcc2.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/libgcc2.c b/gcc/libgcc2.c index adda325..8f853f2 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 |