Commit e3367a77 by Ian Lance Taylor

Don't compile getpagesize if __CYGWIN32__

From-SVN: r14571
parent 1638ccd3
...@@ -2720,6 +2720,8 @@ __clear_cache (char *beg, char *end) ...@@ -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() ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment