fix build
This commit is contained in:
@@ -166,6 +166,7 @@ int WINAPI wWinMain(_In_ HINSTANCE hInstance, _In_opt_ HINSTANCE hPrevInstance,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef MEMSETFIX
|
||||||
#pragma function(memset)
|
#pragma function(memset)
|
||||||
void *memset(char* dst, int value, size_t count) {
|
void *memset(char* dst, int value, size_t count) {
|
||||||
while (count--) { *dst++ = value; }
|
while (count--) { *dst++ = value; }
|
||||||
@@ -182,3 +183,4 @@ void __stdcall wWinMainCRTStartup() {
|
|||||||
int code = wWinMain(GetModuleHandle(0), 0, 0, 0);
|
int code = wWinMain(GetModuleHandle(0), 0, 0, 0);
|
||||||
ExitProcess(code);
|
ExitProcess(code);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user