mirror of
https://github.com/UberGames/ioef.git
synced 2024-11-24 05:01:40 +00:00
* Use correct compiler defines for OS detection on Windows
This commit is contained in:
parent
c51d99117c
commit
c314f29290
1 changed files with 2 additions and 2 deletions
|
@ -74,7 +74,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
//================================================================= WIN64/32 ===
|
//================================================================= WIN64/32 ===
|
||||||
|
|
||||||
#ifdef __WIN64__
|
#if defined(_WIN64) || defined(__WIN64__)
|
||||||
|
|
||||||
#undef QDECL
|
#undef QDECL
|
||||||
#define QDECL __cdecl
|
#define QDECL __cdecl
|
||||||
|
@ -98,7 +98,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
#define DLL_EXT ".dll"
|
#define DLL_EXT ".dll"
|
||||||
|
|
||||||
#elif __WIN32__
|
#elif defined(_WIN32) || defined(__WIN32__)
|
||||||
|
|
||||||
#undef QDECL
|
#undef QDECL
|
||||||
#define QDECL __cdecl
|
#define QDECL __cdecl
|
||||||
|
|
Loading…
Reference in a new issue