OSDN Git Service

* c-common.c (preprocessing_asm): New macro.
[pf3gnuchains/gcc-fork.git] / gcc / config / alpha / linux.h
index d98a34d..461bd0e 100644 (file)
@@ -30,12 +30,11 @@ Boston, MA 02111-1307, USA.  */
        builtin_define_std ("linux");                           \
        builtin_define_std ("unix");                            \
        builtin_assert ("system=linux");                        \
+       /* The GNU C++ standard library requires this.  */      \
+       if (c_language == clk_cplusplus)                        \
+         builtin_define ("_GNU_SOURCE");                       \
     } while (0)
 
-/* The GNU C++ standard library requires that these macros be defined.  */
-#undef CPLUSPLUS_CPP_SPEC
-#define CPLUSPLUS_CPP_SPEC "-D_GNU_SOURCE %(cpp)"
-
 #undef LIB_SPEC
 #define LIB_SPEC \
   "%{shared: -lc} \