summaryrefslogtreecommitdiff
path: root/ui/text_import_scanner.l
diff options
context:
space:
mode:
Diffstat (limited to 'ui/text_import_scanner.l')
-rw-r--r--ui/text_import_scanner.l12
1 files changed, 6 insertions, 6 deletions
diff --git a/ui/text_import_scanner.l b/ui/text_import_scanner.l
index bd59c749d6..1bcb4063fe 100644
--- a/ui/text_import_scanner.l
+++ b/ui/text_import_scanner.l
@@ -48,6 +48,8 @@
*
*******************************************************************************/
+#include "config.h"
+
#include <stdio.h>
#include <stdlib.h>
@@ -58,13 +60,11 @@
* Flex (v 2.5.35) uses this symbol to "exclude" unistd.h
*/
#ifdef _WIN32
-#define YY_NO_UNISTD_H
-#endif
+# define YY_NO_UNISTD_H
-#ifdef _WIN32
-/* disable Windows VC compiler warning "signed/unsigned mismatch" associated */
-/* with YY_INPUT code generated by flex versions such as 2.5.35. */
-#pragma warning (disable:4018)
+ /* disable Windows VC compiler warning "signed/unsigned mismatch" associated */
+ /* with YY_INPUT code generated by flex versions such as 2.5.35. */
+# pragma warning (disable:4018)
#endif
%}