Remove harmful & useless MinGW32 compatibility definitions

This commit is contained in:
Raphael Coeffic
2021-09-13 07:53:25 +02:00
committed by Raphael Coeffic
parent 89978ff17c
commit 218e8bed02
-13
View File
@@ -19,16 +19,3 @@
#pragma once
#if defined(__MINGW32__) || !defined(__GNUC__)
#include <windows.h>
#include <tchar.h>
#define sleep(x) Sleep(x)
#define strcasecmp _stricmp
#define strncasecmp _strnicmp
#define chdir _chdir
#define getcwd _getcwd
// remove windows default definitions
#undef OPAQUE
#undef RGB
#undef EXTERN_C
#endif