diff --git a/client/sources/MemoryModule.c b/client/sources/MemoryModule.c index b3ab9098..d2b103c5 100644 --- a/client/sources/MemoryModule.c +++ b/client/sources/MemoryModule.c @@ -23,6 +23,11 @@ * Joachim Bauch. All Rights Reserved. * */ + +#ifdef DEBUG +#define DEBUG_OUTPUT +#endif + #include #include #include @@ -512,7 +517,7 @@ HMEMORYMODULE MemoryLoadLibraryEx(const void *data, int (WINAPI *GetNativeSystemInfo) (SYSTEM_INFO *systemInfo); GetNativeSystemInfo = (void *) GetProcAddress (hModule, "GetNativeSystemInfo"); GetNativeSystemInfo(&sysInfo); - } + } result->pageSize = sysInfo.dwPageSize; // commit memory for headers