Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gcc/dist/libsanitizer/tsan Don't re-define sta...



details:   https://anonhg.NetBSD.org/src/rev/2eb56d75ee7e
branches:  trunk
changeset: 345735:2eb56d75ee7e
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Jun 05 20:09:00 2016 +0000

description:
Don't re-define standard types!

diffstat:

 external/gpl3/gcc/dist/libsanitizer/tsan/tsan_interface.cc |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (15 lines):

diff -r 963d158b5af6 -r 2eb56d75ee7e external/gpl3/gcc/dist/libsanitizer/tsan/tsan_interface.cc
--- a/external/gpl3/gcc/dist/libsanitizer/tsan/tsan_interface.cc        Sun Jun 05 20:08:26 2016 +0000
+++ b/external/gpl3/gcc/dist/libsanitizer/tsan/tsan_interface.cc        Sun Jun 05 20:09:00 2016 +0000
@@ -18,9 +18,11 @@
 
 using namespace __tsan;  // NOLINT
 
+#if !SANITIZER_NETBSD
 typedef u16 uint16_t;
 typedef u32 uint32_t;
 typedef u64 uint64_t;
+#endif
 
 void __tsan_init() {
   Initialize(cur_thread());



Home | Main Index | Thread Index | Old Index