Don't compile getpagesize if __CYGWIN32__

From-SVN: r14571
This commit is contained in:
Ian Lance Taylor 1997-07-31 23:39:26 +00:00
parent 1638ccd305
commit e3367a77fd

View File

@ -2720,6 +2720,8 @@ __clear_cache (char *beg, char *end)
#ifdef WINNT #ifdef WINNT
#ifndef __CYGWIN32__
long getpagesize() long getpagesize()
{ {
#ifdef _ALPHA_ #ifdef _ALPHA_
@ -2729,6 +2731,8 @@ long getpagesize()
#endif #endif
} }
#endif
#ifdef i386 #ifdef i386
extern int VirtualProtect (char *, int, int, int *) __attribute__((stdcall)); extern int VirtualProtect (char *, int, int, int *) __attribute__((stdcall));
#endif #endif