TEST_BIG_ENDIAN(GDCM_WORDS_BIGENDIAN)
INCLUDE (${CMAKE_ROOT}/Modules/CheckIncludeFile.cmake)
+CHECK_INCLUDE_FILE("stdint.h" CMAKE_HAVE_STDINT_H)
IF(UNIX) #Avoid polluting Win32 cmakecache
- CHECK_INCLUDE_FILE("stdint.h" CMAKE_HAVE_STDINT_H)
CHECK_INCLUDE_FILE("inttypes.h" CMAKE_HAVE_INTTYPES_H)
ENDIF(UNIX)
Program: gdcm
Module: $RCSfile: gdcmCommon.h,v $
Language: C++
- Date: $Date: 2005/06/25 13:57:29 $
- Version: $Revision: 1.66 $
+ Date: $Date: 2005/07/02 15:54:18 $
+ Version: $Revision: 1.67 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
#endif
// Broken plateform do not respect C99 and do not provide those typedef
-#if defined(_MSC_VER) || defined(__BORLANDC__) || defined(__MINGW32__)
+// Special case for recent borland compiler, comes with stdint.h
+#if defined(_MSC_VER) || __BORLANDC__ < 0x0560 || defined(__MINGW32__)
typedef signed char int8_t;
typedef signed short int16_t;
typedef signed int int32_t;