mirror of
https://git.proxmox.com/git/libgit2
synced 2025-12-25 17:34:20 +00:00
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:
commit
1ddada422c
@ -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