MSVC++ compilation fix
This commit is contained in:
@@ -74,9 +74,16 @@
|
|||||||
|
|
||||||
#if defined(__MINGW32__) || !defined(__GNUC__)
|
#if defined(__MINGW32__) || !defined(__GNUC__)
|
||||||
#include <windows.h>
|
#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
|
// remove windows default definitions
|
||||||
#undef OPAQUE
|
#undef OPAQUE
|
||||||
#undef RGB
|
#undef RGB
|
||||||
|
#undef EXTERN_C
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define OPACITY_MAX 0x0Fu
|
#define OPACITY_MAX 0x0Fu
|
||||||
|
|||||||
Reference in New Issue
Block a user