forked from nakidai/csnake
1
0
Fork 0

Also register troubles between MinGW and MSVC

Nakidai 2024-03-06 23:56:20 +03:00
parent bb55e690d0
commit 9d6264d100
Signed by: nakidai
GPG Key ID: 18AD605FDA13FE5A
1 changed files with 6 additions and 0 deletions

View File

@ -2,7 +2,13 @@
#define __PLATFORM_SCREEN_H__ #define __PLATFORM_SCREEN_H__
#ifdef _WIN32 #ifdef _WIN32
#ifdef __MINGW32__
#include <windows.h> #include <windows.h>
#else
#include <Windows.h>
#endif /* __MINGW32__ */
#else #else
#include <stdio.h> #include <stdio.h>
#endif /* _WIN32 */ #endif /* _WIN32 */