[Cmake-commits] [cmake-commits] king committed archive_read_support_format_ar.c 1.1 1.2
cmake-commits at cmake.org
cmake-commits at cmake.org
Thu Nov 5 16:29:32 EST 2009
Update of /cvsroot/CMake/CMake/Utilities/cmlibarchive/libarchive
In directory public:/mounts/ram/cvs-serv13674/Utilities/cmlibarchive/libarchive
Modified Files:
archive_read_support_format_ar.c
Log Message:
libarchive: Fix try-compile for SIZE_MAX
This constant may be defined in one of a few headers. We teach the
try-compile for it to test all the headers together instead of only one
header.
Index: archive_read_support_format_ar.c
===================================================================
RCS file: /cvsroot/CMake/CMake/Utilities/cmlibarchive/libarchive/archive_read_support_format_ar.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** archive_read_support_format_ar.c 30 Oct 2009 17:09:57 -0000 1.1
--- archive_read_support_format_ar.c 5 Nov 2009 21:29:30 -0000 1.2
***************
*** 41,44 ****
--- 41,47 ----
#include <string.h>
#endif
+ #ifdef HAVE_LIMITS_H
+ #include <limits.h>
+ #endif
#include "archive.h"
More information about the Cmake-commits
mailing list