[compiler-rt] r198657 - Revert "Only include inttypes.h on platforms for which PRIu64 isn't in stdint.h"

Justin Bogner mail at justinbogner.com
Mon Jan 6 17:46:49 PST 2014


Author: bogner
Date: Mon Jan  6 19:46:49 2014
New Revision: 198657

URL: http://llvm.org/viewvc/llvm-project?rev=198657&view=rev
Log:
Revert "Only include inttypes.h on platforms for which PRIu64 isn't in stdint.h"

This reverts commit e7778e08878d0c61903205428eeb131db9d11b3c.

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=198657&r1=198656&r2=198657&view=diff
==============================================================================
--- compiler-rt/trunk/lib/profile/PGOProfiling.c (original)
+++ compiler-rt/trunk/lib/profile/PGOProfiling.c Mon Jan  6 19:46:49 2014
@@ -7,13 +7,10 @@
 |*
 \*===----------------------------------------------------------------------===*/
 
+#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