tsan: fix compilation with -pedantic
authorDmitry Vyukov <dvyukov@google.com>
Thu, 13 Dec 2012 15:26:04 +0000 (15:26 +0000)
committerDmitry Vyukov <dvyukov@google.com>
Thu, 13 Dec 2012 15:26:04 +0000 (15:26 +0000)
llvm-svn: 170131

compiler-rt/lib/tsan/rtl/tsan_interface_atomic.h

index c304fcc..5352d56 100644 (file)
@@ -28,7 +28,7 @@ typedef long     __tsan_atomic64;  // NOLINT
 
 #if defined(__SIZEOF_INT128__) \
     || (__clang_major__ * 100 + __clang_minor__ >= 302)
-typedef __int128 __tsan_atomic128;
+__extension__ typedef __int128 __tsan_atomic128;
 #define __TSAN_HAS_INT128 1
 #else
 typedef char     __tsan_atomic128;