From 9063e61ca3141cea180caea45a9f93f4ee92c48f Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Mon, 29 Oct 2012 20:26:15 -0500 Subject: Fix some "is not defined" warnings. (cherry picked from commit 10f1691760c0f1556b6cc848d3fdeeda6bfbb78e) --- kregexpeditor/gen_qregexpparser.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kregexpeditor/gen_qregexpparser.cc') diff --git a/kregexpeditor/gen_qregexpparser.cc b/kregexpeditor/gen_qregexpparser.cc index f2ac58a..f72775b 100644 --- a/kregexpeditor/gen_qregexpparser.cc +++ b/kregexpeditor/gen_qregexpparser.cc @@ -182,7 +182,7 @@ typedef struct yyltype /* The parser invokes alloca or malloc; define the necessary symbols. */ -# if YYSTACK_USE_ALLOCA +# ifdef YYSTACK_USE_ALLOCA # define YYSTACK_ALLOC alloca # else # ifndef YYSTACK_USE_ALLOCA @@ -569,7 +569,7 @@ int yydebug; SIZE_MAX < YYSTACK_BYTES (YYMAXDEPTH) evaluated with infinite-precision integer arithmetic. */ -#if YYMAXDEPTH == 0 +#ifdef YYMAXDEPTH == 0 # undef YYMAXDEPTH #endif -- cgit v1.2.3