Showing the changes to src/core/util_platforms.cpp (1 of 4 files). Show all
Unified · Split
| @@ -34,6 +34,16 @@ · 33 unmodified lines | |||
| 34 | #include "util_string.h" | 34 | #include "util_string.h" |
| 35 | #include "chuck_errmsg.h" | 35 | #include "chuck_errmsg.h" |
| 36 | 36 | ||
| 37 | #ifdef __PLATFORM_WIN32__ | ||
| 38 | #ifndef __CHUNREAL_ENGINE__ | ||
| 39 | #include <windows.h> // for win32_tmpfile() | ||
| 40 | #else | ||
| 41 | // 1.5.0.0 (ge) | #chunreal | ||
| 42 | // unreal engine on windows disallows including windows.h | ||
| 43 | #include "Windows/MinWindows.h" | ||
| 44 | #endif // #ifndef __CHUNREAL_ENGINE__ | ||
| 45 | #endif // #ifdef __PLATFORM_WIN32__ | ||
| 46 | |||
| 37 | #include <sys/stat.h> | 47 | #include <sys/stat.h> |
| 38 | 48 | ||
| 39 | 49 | ||