Linux buildfix

This commit is contained in:
Henrik Rydgard 2017-03-05 11:25:07 +01:00
parent 85717a981c
commit de3e906795

View File

@ -207,9 +207,9 @@ void *AllocateExecutableMemory(size_t size) {
void *AllocateMemoryPages(size_t size, uint32_t memProtFlags) {
size = round_page(size);
#ifdef _WIN32
if (sys_info.dwPageSize == 0)
GetSystemInfo(&sys_info);
#ifdef _WIN32
uint32_t protect = ConvertProtFlagsWin32(memProtFlags);
#if PPSSPP_PLATFORM(UWP)
void* ptr = VirtualAllocFromApp(0, size, MEM_COMMIT, protect);