Assume that stdint.h is available on Windows with compilers other than MSVC <= 2008
This commit is contained in:
committed by
Sam Lantinga
parent
ef988fe184
commit
fd93f817ba
@@ -930,6 +930,7 @@ endif()
|
||||
if(SDL_LIBC)
|
||||
if(WINDOWS AND NOT MINGW)
|
||||
set(HAVE_LIBC TRUE)
|
||||
check_include_file(stdint.h HAVE_STDINT_H)
|
||||
foreach(_HEADER stdio.h string.h wchar.h ctype.h math.h limits.h)
|
||||
string(TOUPPER "HAVE_${_HEADER}" _UPPER)
|
||||
string(REPLACE "." "_" _HAVE_H ${_UPPER})
|
||||
@@ -1043,6 +1044,7 @@ else()
|
||||
if(WINDOWS)
|
||||
set(HAVE_STDARG_H 1)
|
||||
set(HAVE_STDDEF_H 1)
|
||||
check_include_file(stdint.h HAVE_STDINT_H)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user