Don't compile getpagesize if __CYGWIN32__
From-SVN: r14571
This commit is contained in:
parent
1638ccd305
commit
e3367a77fd
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user