shithub: libvpx

Download patch

ref: bd2e7fa1c8b9923c741d338f33b63c1a92649af0
parent: d3a62ac85007329dc2c9fe0918962a4e13716700
parent: 1bec0c5a7e885ec792f6bb658eb3f34ad8f37b15
author: Tom Finegan <[email protected]>
date: Mon May 9 11:07:37 EDT 2016

Merge "Skip inttypes.h on Darwin"

--- a/vpx/vpx_integer.h
+++ b/vpx/vpx_integer.h
@@ -68,7 +68,12 @@
 #if defined(_MSC_VER) && _MSC_VER < 1800
 #define PRId64 "I64d"
 #else
+#if defined(__APPLE__)
+// When building dynamic frameworks with Swift compatibility, module maps
+// do not allow us to include the system's inttypes.h.
+#else
 #include <inttypes.h>
+#endif
 #endif
 
 #endif  // VPX_VPX_INTEGER_H_