Don't compile getpagesize if __CYGWIN32__
authorIan Lance Taylor <ian@gcc.gnu.org>
Thu, 31 Jul 1997 23:39:26 +0000 (23:39 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Thu, 31 Jul 1997 23:39:26 +0000 (23:39 +0000)
From-SVN: r14571

gcc/libgcc2.c

index adda3257f7ef734110b31e3cce869716e7db5ed9..8f853f226ff18f34b5c05dabee915443929188cd 100644 (file)
@@ -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