Merge pull request #3636 from nerdishbynature/fix-non-modular-header-in-module

Don't include inttypes if compiling for Mac/iOS
This commit is contained in:
Carlos Martín Nieto 2016-03-11 16:31:32 +01:00
commit 1ddada422c

View File

@ -24,7 +24,8 @@
GIT_BEGIN_DECL
# include "inttypes.h"
GIT_END_DECL
#else
/** This check is needed for importing this file in an iOS/OS X framework throws an error in Xcode otherwise.*/
#elif !defined(__CLANG_INTTYPES_H)
# include <inttypes.h>
#endif