From 2bb40c5b237e91ce8d3095aa81879b10cdca5bc8 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 12 Jun 2009 16:34:23 +0000 Subject: more fixes. inet_pton is now in error, this is because the windows 6.0 sdk defines it, we need some kind of ifdef or something around this to not define our own if we have the 6.0 SDK. Again i will check this if i have chance, otherwise... :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11407 e03df62e-2008-0410-955e-edbf42e46eb7 --- win/inspircd_win32wrapper.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'win') diff --git a/win/inspircd_win32wrapper.h b/win/inspircd_win32wrapper.h index fc9905403..75fcc41b7 100644 --- a/win/inspircd_win32wrapper.h +++ b/win/inspircd_win32wrapper.h @@ -37,6 +37,9 @@ #define FD_SETSIZE 24000 +#define uint32_t DWORD +#define uint16_t WORD + /* Make builds smaller, leaner and faster */ #define VC_EXTRALEAN #define WIN32_LEAN_AND_MEAN @@ -78,8 +81,6 @@ /* Say we're building on windows 2000. Anyone running something older than this * reeeeeeeally needs to upgrade! */ -#define _WIN32_WINNT 0x500 - /* Normal windows (platform-specific) includes */ #include #include -- cgit v1.2.3