summaryrefslogtreecommitdiffstats
path: root/gcc/config/mips/linux.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/mips/linux.h')
-rw-r--r--gcc/config/mips/linux.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/mips/linux.h b/gcc/config/mips/linux.h
index 50526e94b9e..f39250f362c 100644
--- a/gcc/config/mips/linux.h
+++ b/gcc/config/mips/linux.h
@@ -126,7 +126,7 @@ void FN () \
builtin_define_std ("linux"); \
builtin_assert ("system=linux"); \
/* The GNU C++ standard library requires this. */ \
- if (c_language == clk_cplusplus) \
+ if (c_dialect_cxx ()) \
builtin_define ("_GNU_SOURCE"); \
\
if (mips_abi == ABI_N32) \
OpenPOWER on IntegriCloud