aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.4.3/gcc/c-cppbuiltin.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.4.3/gcc/c-cppbuiltin.c')
-rw-r--r--gcc-4.4.3/gcc/c-cppbuiltin.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc-4.4.3/gcc/c-cppbuiltin.c b/gcc-4.4.3/gcc/c-cppbuiltin.c
index 974b257b1..0fda7993b 100644
--- a/gcc-4.4.3/gcc/c-cppbuiltin.c
+++ b/gcc-4.4.3/gcc/c-cppbuiltin.c
@@ -669,7 +669,10 @@ c_cpp_builtins (cpp_reader *pfile)
/* Define a macro indicating whether the thread safety attributes/analysis
is supported. */
if (warn_thread_safety)
- cpp_define (pfile, "__SUPPORT_TS_ANNOTATION__");
+ {
+ cpp_define (pfile, "__SUPPORT_TS_ANNOTATION__");
+ cpp_define (pfile, "__SUPPORT_DYN_ANNOTATION__");
+ }
/* Tell source code if the compiler makes sync_compare_and_swap
builtins available. */