Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F171512088
D45663.id140073.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
577 B
Referenced Files
None
Subscribers
None
D45663.id140073.diff
View Options
diff --git a/sys/sys/cdefs.h b/sys/sys/cdefs.h
--- a/sys/sys/cdefs.h
+++ b/sys/sys/cdefs.h
@@ -213,12 +213,7 @@
#endif
#if !__has_extension(c_thread_local)
-/*
- * XXX: Some compilers (Clang 3.3, GCC 4.7) falsely announce C++11 mode
- * without actually supporting the thread_local keyword. Don't check for
- * the presence of C++11 when defining _Thread_local.
- */
-#if /* (defined(__cplusplus) && __cplusplus >= 201103L) || */ \
+#if (defined(__cplusplus) && __cplusplus >= 201103L) ||
__has_extension(cxx_thread_local)
#define _Thread_local thread_local
#else
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Sep 12, 1:15 PM (18 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38735856
Default Alt Text
D45663.id140073.diff (577 B)
Attached To
Mode
D45663: cdefs.h: Move to mroe regular _Thread_local define
Attached
Detach File
Event Timeline
Log In to Comment