summaryrefslogtreecommitdiff
path: root/gdb/ch-exp.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/ch-exp.c')
-rw-r--r--gdb/ch-exp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ch-exp.c b/gdb/ch-exp.c
index c29e7b0799d..abd51878c28 100644
--- a/gdb/ch-exp.c
+++ b/gdb/ch-exp.c
@@ -1788,7 +1788,7 @@ match_integer_literal (void)
else
{
yylval.typed_val.val = ival;
-#if defined(CC_HAS_LONG_LONG) && defined(__STDC__)
+#if defined(CC_HAS_LONG_LONG)
if (ival > (LONGEST) 2147483647U || ival < -(LONGEST) 2147483648U)
yylval.typed_val.type = builtin_type_long_long;
else