diff --git a/progmgr/progmgr.c b/progmgr/progmgr.c index bcdc05a..e8de5c7 100644 --- a/progmgr/progmgr.c +++ b/progmgr/progmgr.c @@ -166,6 +166,7 @@ int WINAPI wWinMain(_In_ HINSTANCE hInstance, _In_opt_ HINSTANCE hPrevInstance, return 0; } +#ifdef MEMSETFIX #pragma function(memset) void *memset(char* dst, int value, size_t count) { while (count--) { *dst++ = value; } @@ -181,4 +182,5 @@ void *memcpy(char *dst, const char *src, size_t count) { void __stdcall wWinMainCRTStartup() { int code = wWinMain(GetModuleHandle(0), 0, 0, 0); ExitProcess(code); -} \ No newline at end of file +} +#endif