[compiler-rt] r198656 - Revert "Explicitly enable PRIu64 by defining __STDC_FORMAT_MACROS if it isn't"

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


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

URL: http://llvm.org/viewvc/llvm-project?rev=198656&view=rev
Log:
Revert "Explicitly enable PRIu64 by defining __STDC_FORMAT_MACROS if it isn't"

This reverts commit d1b5d3b0e885ef057643fcea99bff8b6cce04b93.

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=198656&r1=198655&r2=198656&view=diff
==============================================================================
--- compiler-rt/trunk/lib/profile/PGOProfiling.c (original)
+++ compiler-rt/trunk/lib/profile/PGOProfiling.c Mon Jan  6 19:46:46 2014
@@ -10,12 +10,6 @@
 #include <stdio.h>
 #include <stdlib.h>
 
-// Explicitly request that the format macros like PRIu64 be enabled if they
-// haven't already been enabled.
-#ifndef __STDC_FORMAT_MACROS
-#define __STDC_FORMAT_MACROS 1
-#endif
-
 #if !defined(__APPLE__)
 #include <inttypes.h>
 #endif





More information about the llvm-commits mailing list