X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d554e5da38a90760e92b7b0e4a66dbaef71a2d54..9453a61bd887cb6a9a5c08e80af2eba072516663:/src/common/doslex.c?ds=sidebyside diff --git a/src/common/doslex.c b/src/common/doslex.c index 3dbdde99ed..bbf61f0eac 100644 --- a/src/common/doslex.c +++ b/src/common/doslex.c @@ -252,7 +252,9 @@ static int my_unput(char); if ( (result = read( fileno(yyin), (char *) buf, max_size )) < 0 ) \ YY_FATAL_ERROR( "read() in flex scanner failed" ); #else -# undef unput +# ifndef unput +# undef unput +# endif # define unput(_c) my_unput(_c) #endif