summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2009-06-12 16:34:23 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2009-06-12 16:34:23 +0000
commit2bb40c5b237e91ce8d3095aa81879b10cdca5bc8 (patch)
treea1cb0d95bc3bf21e0c431ce5af727a79e4a23c89
parent48045988a48a738a1ffa183fdc1e335a431312a8 (diff)
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
-rw-r--r--win/inspircd_win32wrapper.h5
1 files changed, 3 insertions, 2 deletions
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 <winsock2.h>
#include <windows.h>