diff --git a/reactos/tools/rbuild/pch.h b/reactos/tools/rbuild/pch.h index 332ddc3a4c0..c31acbf044c 100644 --- a/reactos/tools/rbuild/pch.h +++ b/reactos/tools/rbuild/pch.h @@ -27,11 +27,15 @@ #include #include +#ifdef WIN32 +#include +#ifndef MAX_PATH +#define MAX_PATH _MAX_PATH +#endif//MAX_PATH +#endif//WIN32 + #include -#ifdef _MSC_VER -#define MAX_PATH _MAX_PATH -#endif #ifndef WIN32 #include