summaryrefslogtreecommitdiff
path: root/idlc/source/scanner.ll
diff options
context:
space:
mode:
Diffstat (limited to 'idlc/source/scanner.ll')
-rw-r--r--idlc/source/scanner.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/idlc/source/scanner.ll b/idlc/source/scanner.ll
index ea122c531400..74f5c82fded1 100644
--- a/idlc/source/scanner.ll
+++ b/idlc/source/scanner.ll
@@ -254,6 +254,12 @@ static void parseLineAndFile(sal_Char* pBuf)
#pragma disable_warn
#elif defined _MSC_VER
#pragma warning(push, 1)
+/**/
+#ifdef yywrap
+#undef yywrap
+#define yywrap() 1
+#endif
+/**/
#endif
%}