summaryrefslogtreecommitdiff
path: root/hwpfilter
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-03-04 08:58:44 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-03-04 10:11:07 +0100
commit7a43da06139c04ca9739b5261d36fbefc8976bb0 (patch)
treed6d0baea77104cc0e83e77cd9b9da3385203cae3 /hwpfilter
parenta70586d9980d71bd3310fcda69f16ac1dafae2d4 (diff)
-Werror,-Wundef
see c665a1bc0f45aa4a4c679e6f004581168e03f93d for __STDC__ not defined under MSVC/clang-cl. Change-Id: I65d8a3b33ff40fc80c52b294b0c5bc75d9f5cf2f
Diffstat (limited to 'hwpfilter')
-rw-r--r--hwpfilter/source/lexer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/hwpfilter/source/lexer.cxx b/hwpfilter/source/lexer.cxx
index aa435d5fcdce..448dce22f47c 100644
--- a/hwpfilter/source/lexer.cxx
+++ b/hwpfilter/source/lexer.cxx
@@ -1023,7 +1023,7 @@ static int yy_top_state YY_PROTO(( void ));
#ifdef YY_MALLOC_DECL
YY_MALLOC_DECL
#else
-#if __STDC__
+#if defined __STDC__ && __STDC__
#ifndef __cplusplus
#include <stdlib.h>
#endif