[Cmake-commits] [cmake-commits] king committed archive_entry.c 1.4 1.5

cmake-commits at cmake.org cmake-commits at cmake.org
Thu Nov 5 16:29:24 EST 2009


Update of /cvsroot/CMake/CMake/Utilities/cmlibarchive/libarchive
In directory public:/mounts/ram/cvs-serv13570/Utilities/cmlibarchive/libarchive

Modified Files:
	archive_entry.c 
Log Message:
libarchive: Add try-compile for 'major'

The commit "Fix libarchive linker errors on SunOS for mkdev/major/minor"
hard-coded #include lines for getting mkdev/major/minor on the Sun.
Instead we add missing try-compile tests to make sure the proper headers
get included through the standard mechanism.


Index: archive_entry.c
===================================================================
RCS file: /cvsroot/CMake/CMake/Utilities/cmlibarchive/libarchive/archive_entry.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C 2 -d -r1.4 -r1.5
*** archive_entry.c	5 Nov 2009 20:48:50 -0000	1.4
--- archive_entry.c	5 Nov 2009 21:29:21 -0000	1.5
***************
*** 30,37 ****
  #include <sys/stat.h>
  #endif
- #if defined(__sun) || defined(_AIX)
- #include <sys/types.h>
- #include <sys/mkdev.h>
- #endif
  #ifdef HAVE_SYS_TYPES_H
  #include <sys/types.h>
--- 30,33 ----



More information about the Cmake-commits mailing list