diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-01-25 18:35:03 +0100 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-01-25 18:35:03 +0100 |
commit | 9647901ba07e6252ce850b72108958324d3b3230 (patch) | |
tree | 0a17b9decd677ecbf3a288705df0ed2eeaef87e4 /src/skel/crossplatform.h | |
parent | Move CRunningScript (diff) | |
parent | Update OpenAL (diff) | |
download | re3-9647901ba07e6252ce850b72108958324d3b3230.tar re3-9647901ba07e6252ce850b72108958324d3b3230.tar.gz re3-9647901ba07e6252ce850b72108958324d3b3230.tar.bz2 re3-9647901ba07e6252ce850b72108958324d3b3230.tar.lz re3-9647901ba07e6252ce850b72108958324d3b3230.tar.xz re3-9647901ba07e6252ce850b72108958324d3b3230.tar.zst re3-9647901ba07e6252ce850b72108958324d3b3230.zip |
Diffstat (limited to 'src/skel/crossplatform.h')
-rw-r--r-- | src/skel/crossplatform.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/skel/crossplatform.h b/src/skel/crossplatform.h index bfc03913..009b17c7 100644 --- a/src/skel/crossplatform.h +++ b/src/skel/crossplatform.h @@ -21,7 +21,11 @@ char *_strdate(char *buf); // As long as WITHWINDOWS isn't defined / <Windows.h> isn't included, we only need type definitions so let's include <IntSafe.h>. // NOTE: It's perfectly fine to include <Windows.h> here, but it can increase build size and time in *some* conditions, and maybe substantially in future if we'll use crossplatform.h more. #ifndef _INC_WINDOWS - #include <IntSafe.h> + #ifndef __MWERKS__ + #include <IntSafe.h> + #else + #include <Windows.h> + #endif #endif #if defined RW_D3D9 || defined RWLIBS #include "win.h" |