summaryrefslogtreecommitdiffstats
path: root/kexi/kexidb/parser/sqlparser.cpp
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-10-30 11:09:38 -0500
committerDarrell Anderson <humanreadable@yahoo.com>2012-10-30 11:09:38 -0500
commitd2b03dad3d0b458ab4146b4e51756e3ce8efe7cc (patch)
treeeb7906088c61f61c59005461e4ef0250cab9dd4e /kexi/kexidb/parser/sqlparser.cpp
parente566a4bef04b83c4927349955ca7cca80aee1c09 (diff)
downloadkoffice-d2b03dad3d0b458ab4146b4e51756e3ce8efe7cc.tar.gz
koffice-d2b03dad3d0b458ab4146b4e51756e3ce8efe7cc.zip
Fix some "is not defined" warnings.
Diffstat (limited to 'kexi/kexidb/parser/sqlparser.cpp')
-rw-r--r--kexi/kexidb/parser/sqlparser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kexi/kexidb/parser/sqlparser.cpp b/kexi/kexidb/parser/sqlparser.cpp
index c3d2f53dc..097deb3bb 100644
--- a/kexi/kexidb/parser/sqlparser.cpp
+++ b/kexi/kexidb/parser/sqlparser.cpp
@@ -942,7 +942,7 @@ typedef short int yytype_int16;
#define YYSIZE_MAXIMUM ((YYSIZE_T) -1)
#ifndef YY_
-# if YYENABLE_NLS
+# ifdef YYENABLE_NLS
# if ENABLE_NLS
# include <libintl.h> /* INFRINGES ON USER NAME SPACE */
# define YY_(msgid) dgettext ("bison-runtime", msgid)
@@ -1663,7 +1663,7 @@ while (YYID (0))
we won't break user code: when these are the locations we know. */
#ifndef YY_LOCATION_PRINT
-# if YYLTYPE_IS_TRIVIAL
+# ifdef YYLTYPE_IS_TRIVIAL
# define YY_LOCATION_PRINT(File, Loc) \
fprintf (File, "%d.%d-%d.%d", \
(Loc).first_line, (Loc).first_column, \