diff options
Diffstat (limited to 'contrib/gcc/c-cppbuiltin.c')
-rw-r--r-- | contrib/gcc/c-cppbuiltin.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/contrib/gcc/c-cppbuiltin.c b/contrib/gcc/c-cppbuiltin.c index 45e2acb..906ef55 100644 --- a/contrib/gcc/c-cppbuiltin.c +++ b/contrib/gcc/c-cppbuiltin.c @@ -1,5 +1,6 @@ /* Define builtin-in macros for the C family front ends. - Copyright (C) 2002, 2003, 2004, 2005 Free Software Foundation, Inc. + Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 + Free Software Foundation, Inc. This file is part of GCC. @@ -484,7 +485,10 @@ c_cpp_builtins (cpp_reader *pfile) /* Misc. */ builtin_define_with_value ("__VERSION__", version_string, 1); - cpp_define (pfile, "__GNUC_GNU_INLINE__"); + if (flag_gnu89_inline) + cpp_define (pfile, "__GNUC_GNU_INLINE__"); + else + cpp_define (pfile, "__GNUC_STDC_INLINE__"); /* Definitions for LP64 model. */ if (TYPE_PRECISION (long_integer_type_node) == 64 |