diff options
author | eray orçunus <erayorcunus@gmail.com> | 2020-07-25 14:24:24 +0200 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2020-07-25 14:24:24 +0200 |
commit | 7fea567eb27c033cc1d93c248dd4919bce59c998 (patch) | |
tree | ad16ee18d7e29b51b57c109470c66e4c95d7fa9c /src/skel/crossplatform.h | |
parent | fixed hanim for 64 bit (diff) | |
download | re3-7fea567eb27c033cc1d93c248dd4919bce59c998.tar re3-7fea567eb27c033cc1d93c248dd4919bce59c998.tar.gz re3-7fea567eb27c033cc1d93c248dd4919bce59c998.tar.bz2 re3-7fea567eb27c033cc1d93c248dd4919bce59c998.tar.lz re3-7fea567eb27c033cc1d93c248dd4919bce59c998.tar.xz re3-7fea567eb27c033cc1d93c248dd4919bce59c998.tar.zst re3-7fea567eb27c033cc1d93c248dd4919bce59c998.zip |
Diffstat (limited to '')
-rw-r--r-- | src/skel/crossplatform.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/skel/crossplatform.h b/src/skel/crossplatform.h index 066570be..268eedff 100644 --- a/src/skel/crossplatform.h +++ b/src/skel/crossplatform.h @@ -14,14 +14,10 @@ enum eWinVersion #ifdef _WIN32 -// As long as WITHWINDOWS isn't defined / <Windows.h> isn't included, include <windef.h>, which is lighter. +// 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 - #ifdef _WIN64 - #define _ARM64_ - #else - #define _X86_ - #endif - #include <windef.h> + #include <IntSafe.h> #endif #if defined RW_D3D9 || defined RWLIBS #include "win.h" |