]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Don't include inttypes if compiling for Mac/iOS 1230/head
authorMaxime Le Moine <lm.maxime@gmail.com>
Fri, 26 Jul 2019 21:05:13 +0000 (23:05 +0200)
committerMaxime Le Moine <maxime.lemoine@milibris.com>
Mon, 26 Aug 2019 08:21:14 +0000 (10:21 +0200)
libarchive/archive.h

index 7b196e7bb9ea131b0cb9d1b8d9961147b7ce634a..263d5ea354c97fccc8a4a96e21ac6c4c2114fa09 100644 (file)
@@ -52,7 +52,7 @@
  */
 #if defined(__BORLANDC__) && __BORLANDC__ >= 0x560
 # include <stdint.h>
-#elif !defined(__WATCOMC__) && !defined(_MSC_VER) && !defined(__INTERIX) && !defined(__BORLANDC__) && !defined(_SCO_DS) && !defined(__osf__)
+#elif !defined(__WATCOMC__) && !defined(_MSC_VER) && !defined(__INTERIX) && !defined(__BORLANDC__) && !defined(_SCO_DS) && !defined(__osf__) && !defined(__CLANG_INTTYPES_H)
 # include <inttypes.h>
 #endif