[compiler-rt] r198647 - Only include inttypes.h on platforms for which	PRIu64 isn't in stdint.h
    Kaelyn Uhrain 
    rikka at google.com
       
    Mon Jan  6 15:37:31 PST 2014
    
    
  
Author: rikka
Date: Mon Jan  6 17:37:31 2014
New Revision: 198647
URL: http://llvm.org/viewvc/llvm-project?rev=198647&view=rev
Log:
Only include inttypes.h on platforms for which PRIu64 isn't in stdint.h
Modified:
    compiler-rt/trunk/lib/profile/PGOProfiling.c
Modified: compiler-rt/trunk/lib/profile/PGOProfiling.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/profile/PGOProfiling.c?rev=198647&r1=198646&r2=198647&view=diff
==============================================================================
--- compiler-rt/trunk/lib/profile/PGOProfiling.c (original)
+++ compiler-rt/trunk/lib/profile/PGOProfiling.c Mon Jan  6 17:37:31 2014
@@ -7,10 +7,13 @@
 |*
 \*===----------------------------------------------------------------------===*/
 
-#include <inttypes.h>
 #include <stdio.h>
 #include <stdlib.h>
 
+#if !defined(__APPLE__)
+#include <inttypes.h>
+#endif
+
 #ifndef _MSC_VER
 #include <stdint.h>
 #else
    
    
More information about the llvm-commits
mailing list