adding std to cstdint typedef of uint32_t

This commit is contained in:
kamjagin 2013-08-14 11:25:49 +02:00
parent b595d73d6d
commit ed29d91d42
2 changed files with 3 additions and 2 deletions

View File

@ -70,7 +70,7 @@ endif(WITH_OPENGL)
if(APPLE)
if(WITH_CARBON)
set(HAVE_CARBON YES)
elseif(NOT IOS)
elif(NOT IOS)
set(HAVE_COCOA YES)
endif()
endif()

View File

@ -201,10 +201,11 @@
#if !defined _MSC_VER && !defined __BORLANDC__
# if defined __cplusplus && __cplusplus >= 201103L
# include <cstdint>
typedef std::uint32_t uint;
# else
# include <stdint.h>
typedef uint32_t uint;
# endif
typedef uint32_t uint;
#else
typedef unsigned uint;
#endif