MSVC compile fixes.

This commit is contained in:
Jcw87 2020-02-16 00:10:08 -08:00
parent 709ec3b1df
commit e835528fe8
2 changed files with 3 additions and 1 deletions

View File

@ -75,7 +75,7 @@ if(MSVC)
add_compile_definitions(UNICODE=1 _UNICODE=1 __SSE__=1
_CRT_SECURE_NO_WARNINGS=1 D_SCL_SECURE_NO_WARNINGS=1
_SCL_SECURE_NO_DEPRECATE=1 _CRT_NONSTDC_NO_WARNINGS=1
_ENABLE_EXTENDED_ALIGNED_STORAGE=1)
_ENABLE_EXTENDED_ALIGNED_STORAGE=1 NOMINMAX=1)
add_compile_options(/IGNORE:4221 /wd4018 /wd4800 /wd4005 /wd4311 /wd4068
/wd4267 /wd4244 /wd4200 /wd4305 /wd4067 /wd4146 /wd4309 /wd4805 ${VS_OPTIONS})

View File

@ -34,6 +34,8 @@
#include "../DataSpec/DNACommon/Tweaks/ITweakGuiColors.hpp"
#endif
#include "Runtime/CTextureCache.hpp"
namespace urde {
extern class IMain* g_Main;
namespace MP1 {