Remove harmful & useless MinGW32 compatibility definitions
This commit is contained in:
committed by
Raphael Coeffic
parent
89978ff17c
commit
218e8bed02
@@ -19,16 +19,3 @@
|
|||||||
|
|
||||||
#pragma once
|
#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
|
|
||||||
|
|||||||
Reference in New Issue
Block a user