handle the msvc stdint.h header differently (better)

This commit is contained in:
Ryan Pavlik
2011-04-27 15:12:08 -05:00
parent 4d6b5a5b05
commit b949546225
4 changed files with 14 additions and 4 deletions

View File

@@ -29,8 +29,8 @@ else()
list(APPEND SOURCES io_nix.c)
endif()
if(MSVC)
list(APPEND API ../msvc-stdint/stdint.h)
if(MSVC AND MSVC_VERSION LESS 1600)
list(APPEND API wiiuse_msvcstdint.h)
endif()
add_library(wiiuse SHARED ${SOURCES} ${API})