The mapping
int32_t -> int
uint32_t -> unsigned int
uint16_t -> unsigned short
is valid on many compilers, not just MSVC.
SVN-Revision: 1630
#
CHECK_TYPE_SIZE(int32_t INT32_T)
IF(NOT HAVE_INT32_T)
- IF(MSVC)
- SET(int32_t "int")
- ENDIF(MSVC)
+ SET(int32_t "int")
ENDIF(NOT HAVE_INT32_T)
#
CHECK_TYPE_SIZE(int64_t INT64_T)
#
CHECK_TYPE_SIZE(uint16_t UINT16_T)
IF(NOT HAVE_UINT16_T)
- IF(MSVC)
- SET(uint16_t "unsigned short")
- ENDIF(MSVC)
+ SET(uint16_t "unsigned short")
ENDIF(NOT HAVE_UINT16_T)
#
CHECK_TYPE_SIZE(uint32_t UINT32_T)
IF(NOT HAVE_UINT32_T)
- IF(MSVC)
- SET(uint32_t "unsigned int")
- ENDIF(MSVC)
+ SET(uint32_t "unsigned int")
ENDIF(NOT HAVE_UINT32_T)
#
CHECK_TYPE_SIZE(uint64_t UINT64_T)