diff options
Diffstat (limited to 'win')
-rw-r--r-- | win/inspircd_win32wrapper.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/win/inspircd_win32wrapper.h b/win/inspircd_win32wrapper.h index 9b18715cd..a1463b318 100644 --- a/win/inspircd_win32wrapper.h +++ b/win/inspircd_win32wrapper.h @@ -43,9 +43,6 @@ #define VC_EXTRALEAN #define WIN32_LEAN_AND_MEAN -/* They just have to be *different*, don't they. */ -#define PATH_MAX MAX_PATH - /* Macros for exporting symbols - dependant on what is being compiled */ #ifdef DLL_BUILD @@ -72,6 +69,9 @@ #include <direct.h> #include <process.h> +/* Windows defines this already. */ +#undef ERROR + /* strcasecmp is not defined on windows by default */ #define strcasecmp _stricmp #define strncasecmp _strnicmp |