summaryrefslogtreecommitdiffstats
path: root/kexi/kexidb/parser/sqlscanner.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/sqlscanner.cpp
parente566a4bef04b83c4927349955ca7cca80aee1c09 (diff)
downloadkoffice-d2b03dad3d0b458ab4146b4e51756e3ce8efe7cc.tar.gz
koffice-d2b03dad3d0b458ab4146b4e51756e3ce8efe7cc.zip
Fix some "is not defined" warnings.
Diffstat (limited to 'kexi/kexidb/parser/sqlscanner.cpp')
-rw-r--r--kexi/kexidb/parser/sqlscanner.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kexi/kexidb/parser/sqlscanner.cpp b/kexi/kexidb/parser/sqlscanner.cpp
index f59b50964..75ee2535e 100644
--- a/kexi/kexidb/parser/sqlscanner.cpp
+++ b/kexi/kexidb/parser/sqlscanner.cpp
@@ -554,7 +554,7 @@ static int input YY_PROTO(( void ));
#endif
#endif
-#if YY_STACK_USED
+#ifdef YY_STACK_USED
static int yy_start_stack_ptr = 0;
static int yy_start_stack_depth = 0;
static int *yy_start_stack = 0;
@@ -1738,10 +1738,10 @@ FILE *file;
b->yy_input_file = file;
b->yy_fill_buffer = 1;
-#if YY_ALWAYS_INTERACTIVE
+#ifdef YY_ALWAYS_INTERACTIVE
b->yy_is_interactive = 1;
#else
-#if YY_NEVER_INTERACTIVE
+#ifdef YY_NEVER_INTERACTIVE
b->yy_is_interactive = 0;
#else
b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0;
@@ -2032,7 +2032,7 @@ void *ptr;
free( ptr );
}
-#if YY_MAIN
+#ifdef YY_MAIN
int main()
{
yylex();