[Cmake-commits] [cmake-commits] king committed config.h.in 1.2 1.3

cmake-commits at cmake.org cmake-commits at cmake.org
Wed Nov 4 13:10:09 EST 2009


Update of /cvsroot/CMake/CMake/Utilities/cmlibarchive/build/cmake
In directory public:/mounts/ram/cvs-serv15106/Utilities/cmlibarchive/build/cmake

Modified Files:
	config.h.in 
Log Message:
libarchive: Fix Borland integer constants

Some versions of Borland provide <stdint.h>, so we use it when possible.
However, the 64-bit signed and unsigned integer min/max constants cause
overflow warnings from Borland itself!  For these constants we fall back
on our default definitions.


Index: config.h.in
===================================================================
RCS file: /cvsroot/CMake/CMake/Utilities/cmlibarchive/build/cmake/config.h.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -C 2 -d -r1.2 -r1.3
*** config.h.in	1 Nov 2009 17:41:17 -0000	1.2
--- config.h.in	4 Nov 2009 18:10:06 -0000	1.3
***************
*** 699,703 ****
  #cmakedefine uintptr_t  ${uintptr_t }
  
! #ifdef __BORLANDC__
  #define uintptr_t unsigned int
  #define intptr_t  int
--- 699,703 ----
  #cmakedefine uintptr_t  ${uintptr_t }
  
! #if defined(__BORLANDC__) && !defined(HAVE_STDINT_H)
  #define uintptr_t unsigned int
  #define intptr_t  int



More information about the Cmake-commits mailing list