From b89aa87280767f47381b8a612f73f1d0fe682e2e Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Tue, 7 May 2013 03:55:29 +0100 Subject: Clean up cross-platform compatibility. - Move compatibility macros to a new header file. - Sort system include files in alphabetical order. - Clean up signal handling (thanks to Adam). --- win/inspircd_win32wrapper.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'win/inspircd_win32wrapper.h') 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 #include +/* Windows defines this already. */ +#undef ERROR + /* strcasecmp is not defined on windows by default */ #define strcasecmp _stricmp #define strncasecmp _strnicmp -- cgit v1.2.3