mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-11 00:12:07 +00:00
Check for __CLANG_INTTYPES_H
This fixes an issue in Xcode 7.3 in objective-git where we get the error "Include of non-modular header file in module". Not importing this header again fixes the issue.
This commit is contained in:
parent
e39ad747f7
commit
0370dae1ad
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user