libs/port: Add support for amd64-mingw32msvc platform
André Hentschel
nerv at dawncrow.de
Thu May 27 13:32:42 CDT 2010
amd64-mingw32msvc seems not to have the expected feature.
---
libs/port/getpagesize.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libs/port/getpagesize.c b/libs/port/getpagesize.c
index 79c2306..0271e5d 100644
--- a/libs/port/getpagesize.c
+++ b/libs/port/getpagesize.c
@@ -30,7 +30,7 @@ size_t getpagesize(void)
{
# ifdef __svr4__
return sysconf(_SC_PAGESIZE);
-# elif defined(__i386__)
+# elif defined(__i386__) || defined(__x86_64__)
return 4096;
# else
# error Cannot get the page size on this platform
--
Best Regards, André Hentschel
More information about the wine-patches
mailing list