[compiler-rt] r253681 - Speculativley try to fix FreeBSD buildbots, which apparently cannot use stdint.h

Reid Kleckner via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 20 10:11:50 PST 2015


Author: rnk
Date: Fri Nov 20 12:11:50 2015
New Revision: 253681

URL: http://llvm.org/viewvc/llvm-project?rev=253681&view=rev
Log:
Speculativley try to fix FreeBSD buildbots, which apparently cannot use stdint.h

Modified:
    compiler-rt/trunk/lib/profile/InstrProfiling.h

Modified: compiler-rt/trunk/lib/profile/InstrProfiling.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/profile/InstrProfiling.h?rev=253681&r1=253680&r2=253681&view=diff
==============================================================================
--- compiler-rt/trunk/lib/profile/InstrProfiling.h (original)
+++ compiler-rt/trunk/lib/profile/InstrProfiling.h Fri Nov 20 12:11:50 2015
@@ -22,6 +22,8 @@
  * FreeBSD 10, r232261) when compiled in 32-bit mode.
  */
 #define PRIu64 "llu"
+typedef unsigned char uint8_t;
+typedef unsigned short uint16_t;
 typedef unsigned int uint32_t;
 typedef unsigned long long uint64_t;
 typedef uint32_t uintptr_t;




More information about the llvm-commits mailing list