]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Fix build failure about INTMAX_MIN and INTMAX_MAX on Windows.
authorMichihiro NAKAJIMA <ggcueroad@gmail.com>
Wed, 3 Aug 2011 04:49:06 +0000 (00:49 -0400)
committerMichihiro NAKAJIMA <ggcueroad@gmail.com>
Wed, 3 Aug 2011 04:49:06 +0000 (00:49 -0400)
SVN-Revision: 3518

build/cmake/config.h.in

index fb0d0ecb6419c9adc3911d8a6f4de5157b9b07bd..5db0f72852e22f02d38e042bfeac88eaff81fce2 100644 (file)
@@ -170,6 +170,8 @@ typedef unsigned char uint8_t;
 /* Define intmax_t and uintmax_t if they are not already defined. */
 #if !defined(HAVE_INTMAX_T)
 typedef int64_t intmax_t;
+#define INTMAX_MIN INT64_MIN
+#define INTMAX_MAX INT64_MAX
 #endif
 
 #if !defined(HAVE_UINTMAX_T)