From: Maxime Le Moine Date: Fri, 26 Jul 2019 21:05:13 +0000 (+0200) Subject: Don't include inttypes if compiling for Mac/iOS X-Git-Tag: v3.4.1~41^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F1230%2Fhead;p=thirdparty%2Flibarchive.git Don't include inttypes if compiling for Mac/iOS --- diff --git a/libarchive/archive.h b/libarchive/archive.h index 7b196e7bb..263d5ea35 100644 --- a/libarchive/archive.h +++ b/libarchive/archive.h @@ -52,7 +52,7 @@ */ #if defined(__BORLANDC__) && __BORLANDC__ >= 0x560 # include -#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 #endif