summaryrefslogtreecommitdiffstats
path: root/Utilities/cmlibarchive/build
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-11-04 21:06:26 (GMT)
committerBrad King <brad.king@kitware.com>2009-11-04 21:06:26 (GMT)
commit9bc63eb30fb4b2b8468de289847c9131900afbc5 (patch)
tree50b003ea484f31e8d868a30ce634b97aebb7bf86 /Utilities/cmlibarchive/build
parentd785cb0021a5994e620a29eda68bfb8ac385a713 (diff)
downloadCMake-9bc63eb30fb4b2b8468de289847c9131900afbc5.zip
CMake-9bc63eb30fb4b2b8468de289847c9131900afbc5.tar.gz
CMake-9bc63eb30fb4b2b8468de289847c9131900afbc5.tar.bz2
libarchive: Fix intptr_t and uintptr_t configuration
Diffstat (limited to 'Utilities/cmlibarchive/build')
-rw-r--r--Utilities/cmlibarchive/build/cmake/config.h.in10
1 files changed, 4 insertions, 6 deletions
diff --git a/Utilities/cmlibarchive/build/cmake/config.h.in b/Utilities/cmlibarchive/build/cmake/config.h.in
index 07e7386..b72c49f 100644
--- a/Utilities/cmlibarchive/build/cmake/config.h.in
+++ b/Utilities/cmlibarchive/build/cmake/config.h.in
@@ -695,10 +695,8 @@
do not define. */
#cmakedefine uintmax_t ${uintmax_t}
-/* Define to `unsigned int' if <sys/types.h> does not define. */
-#cmakedefine uintptr_t ${uintptr_t }
+/* Define to `int' if <sys/types.h> does not define. */
+#cmakedefine intptr_t ${intptr_t}
-#if defined(__BORLANDC__) && !defined(HAVE_STDINT_H)
-#define uintptr_t unsigned int
-#define intptr_t int
-#endif
+/* Define to `unsigned int' if <sys/types.h> does not define. */
+#cmakedefine uintptr_t ${uintptr_t}