X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d554e5da38a90760e92b7b0e4a66dbaef71a2d54..f22e0c3c3f90510f1a92ab148f20b2453e338626:/src/common/doslex.c 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