summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2015-03-12 23:48:53 +0000
committerVincent Sanders <vince@kyllikki.org>2015-03-12 23:48:53 +0000
commita487f7e611550b0058a780cf673480eb8de6f799 (patch)
treed3fc64714632a6cb8049eab059a1ea5332efb97f /utils
parent8b00dfcfbf9003692e6c4f905500c55aac79b7f0 (diff)
downloadnetsurf-a487f7e611550b0058a780cf673480eb8de6f799.tar.gz
netsurf-a487f7e611550b0058a780cf673480eb8de6f799.tar.bz2
Move win32 window operations into their own module
This splits up a great deal of the win32 window code out from other gui code. It also remove large quantities of unused and junk variables and functions.
Diffstat (limited to 'utils')
-rw-r--r--utils/config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/config.h b/utils/config.h
index 8f17b16c2..c45b865fe 100644
--- a/utils/config.h
+++ b/utils/config.h
@@ -64,7 +64,9 @@ char *strchrnul(const char *s, int c);
#undef HAVE_INETATON
#undef HAVE_SYS_SELECT
#include <winsock2.h>
+#ifndef EAFNOSUPPORT
#define EAFNOSUPPORT WSAEAFNOSUPPORT
+#endif
int inet_aton(const char *cp, struct in_addr *inp);
#else
#include <netinet/in.h>