%{
+#include "wx/setup.h"
#include <string.h>
#ifdef _MSC_VER
#include <io.h>
/* You may need to put /DLEX_SCANNER in your makefile
* if you're using LEX!
*/
-#ifdef LEX_SCANNER
-/* int yyoutput(int); */
void yyoutput(int);
-#else
-void yyoutput(int);
-#endif
#if defined(__cplusplus) || defined(__STDC__)
#if defined(__cplusplus) && defined(__EXTERN_C__)
%%
-#if (defined(__WXGTK__) || defined(__WXMOTIF__)) && !defined(NO_CONFIGURE)
+#if (defined(__WXGTK__) || defined(__WXWINE__) || defined(__WXMOTIF__)) && !defined(NO_CONFIGURE)
#include "lexer.c"
#else
#if (defined(__MWERKS__))
* to test
*/
-#ifndef __SC__
+#if !defined(__SC__) && !defined(__GNUWIN32__)
#ifdef USE_DEFINE
#ifndef yywrap
#define yywrap() 1