Cleanup warning when building on Mingw.

This commit is contained in:
Steven Edwards 2002-09-12 20:43:24 +00:00 committed by Alexandre Julliard
parent e298097640
commit d4b8654af4
1 changed files with 4 additions and 0 deletions

View File

@ -150,6 +150,10 @@ typedef INT (CALLBACK *PROC)();
#endif
#endif /* NOMINMAX */
#ifdef MAX_PATH /* Work-around for Mingw */
#undef MAX_PATH
#endif /* MAX_PATH */
#define MAX_PATH 260
#define HFILE_ERROR ((HFILE)-1)