libs/port: Add support for amd64-mingw32msvc platform.
This commit is contained in:
parent
4bd8d384c4
commit
fd5b4f4c0c
|
@ -30,7 +30,7 @@ size_t getpagesize(void)
|
||||||
{
|
{
|
||||||
# ifdef __svr4__
|
# ifdef __svr4__
|
||||||
return sysconf(_SC_PAGESIZE);
|
return sysconf(_SC_PAGESIZE);
|
||||||
# elif defined(__i386__)
|
# elif defined(__i386__) || defined(__x86_64__)
|
||||||
return 4096;
|
return 4096;
|
||||||
# else
|
# else
|
||||||
# error Cannot get the page size on this platform
|
# error Cannot get the page size on this platform
|
||||||
|
|
Loading…
Reference in New Issue