small fix for mingw

This commit is contained in:
Damiano 2020-01-27 00:09:20 +01:00 committed by GitHub
parent b45560cfc4
commit 323eab49f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

14
extern/poshlib/posh.h vendored
View File

@ -333,11 +333,6 @@ LCC predefines the following:
# define POSH_OS_STRING "GameCube"
#endif
#if defined __MINGW32__
# define POSH_OS_MINGW 1
# define POSH_OS_STRING "MinGW"
#endif
#if defined GO32 && defined DJGPP && defined __MSDOS__
# define POSH_OS_GO32 1
# define POSH_OS_STRING "GO32/MS-DOS"
@ -427,7 +422,14 @@ LCC predefines the following:
# define POSH_OS_STRING "XBOX"
#endif
#if defined _WIN32 || defined WIN32 || defined __NT__ || defined __WIN32__
#if defined __MINGW32__ || defined __MINGW64__
# define POSH_OS_MINGW 1
# if defined _WIN64 || defined __MINGW64__
# define POSH_OS_MINGW64
# define POSH_OS_WIN64 1
# endif
# define POSH_OS_STRING "MinGW"
#elif defined _WIN32 || defined WIN32 || defined __NT__ || defined __WIN32__
# define POSH_OS_WIN32 1
# if !defined POSH_OS_XBOX
# if defined _WIN64