- Extended workaround for the stat not working issue in v140_xp to v141_xp.

This commit is contained in:
drfrag666 2018-05-29 09:51:12 +02:00
parent 4a0ef2edf1
commit c656185069
2 changed files with 2 additions and 2 deletions

View file

@ -458,7 +458,7 @@ if( NOT MSVC )
endif()
# Fix stat in v140_xp (broken in RTM and Update 1 so far)
if( MSVC AND MSVC_VERSION EQUAL 1900 AND CMAKE_GENERATOR_TOOLSET STREQUAL "v140_xp" )
if( MSVC AND ( CMAKE_GENERATOR_TOOLSET STREQUAL "v140_xp" OR CMAKE_GENERATOR_TOOLSET STREQUAL "v141_xp" ) )
add_definitions( -D_stat64i32=VS14Stat )
endif()

View file

@ -1458,7 +1458,7 @@ FString I_GetLongPathName(FString shortpath)
return longpath;
}
#if _MSC_VER == 1900 && defined(_USING_V110_SDK71_)
#if defined(_MSC_VER) && defined(_USING_V110_SDK71_)
//==========================================================================
//
// VS14Stat