add a inline strupr for us Unix folk Modified: branches/xmlbuildsystem/reactos/tools/rbuild/pch.h _____
Modified: branches/xmlbuildsystem/reactos/tools/rbuild/pch.h --- branches/xmlbuildsystem/reactos/tools/rbuild/pch.h 2005-03-31 19:33:50 UTC (rev 14393) +++ branches/xmlbuildsystem/reactos/tools/rbuild/pch.h 2005-03-31 19:54:03 UTC (rev 14394) @@ -19,6 +19,8 @@
#endif
#ifndef WIN32 +#include <string.h> +#include <ctype.h> #include <wctype.h> #include <math.h>
@@ -29,7 +31,15 @@ *p++ = tolower(*p); return str; } - + +inline char* strupr ( char* str ) +{ + char *c = str; + while ( *str++ ) + toupper( *str ); + return c; +} + #define _finite __finite #define _isnan __isnan #define stricmp strcasecmp