X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5a92d200e102e6c79ce085153bd0a2f6c554c32d..940ddb190cb3f67f3b1eb85c29133e829c3ab762:/src/common/parser.y diff --git a/src/common/parser.y b/src/common/parser.y index cea8e3a3bb..ee3db0f8ec 100644 --- a/src/common/parser.y +++ b/src/common/parser.y @@ -1,4 +1,5 @@ %{ +#include "wx/setup.h" #include #ifdef _MSC_VER #include @@ -156,7 +157,7 @@ void yyerror(char *s) * to test */ -#ifndef __SC__ +#if !defined(__SC__) && !defined(__GNUWIN32__) #ifdef USE_DEFINE #ifndef yywrap #define yywrap() 1