From b8c02f71d9bbaf805534d5327d8c3935a3b87636 Mon Sep 17 00:00:00 2001 From: TingPing Date: Wed, 4 Jun 2014 10:30:18 -0400 Subject: win32: Use config.h instead of config-win32.h --- src/common/common.vcxproj | 6 +++--- src/common/common.vcxproj.filters | 4 ++-- src/common/hexchat.h | 4 ---- src/common/inet.h | 2 +- src/common/network.c | 6 ++---- src/common/ssl.c | 4 +--- src/common/util.c | 3 +-- 7 files changed, 10 insertions(+), 19 deletions(-) (limited to 'src/common') diff --git a/src/common/common.vcxproj b/src/common/common.vcxproj index c38f432b..fe0887d5 100644 --- a/src/common/common.vcxproj +++ b/src/common/common.vcxproj @@ -77,8 +77,8 @@ - - + + {87554B59-006C-4D94-9714-897B27067BA3} @@ -160,7 +160,7 @@ "$(ProjectDir)marshal.h" "$(DepsRoot)\bin\glib-genmarshal.exe" --prefix=_hexchat_marshal --body "$(ProjectDir)marshalers.list" > "$(ProjectDir)marshal.c" diff --git a/src/common/common.vcxproj.filters b/src/common/common.vcxproj.filters index 800d8daa..c2d0ce5d 100644 --- a/src/common/common.vcxproj.filters +++ b/src/common/common.vcxproj.filters @@ -104,7 +104,7 @@ Header Files - + Header Files @@ -195,6 +195,6 @@ - + \ No newline at end of file diff --git a/src/common/hexchat.h b/src/common/hexchat.h index 44531468..899d1eaa 100644 --- a/src/common/hexchat.h +++ b/src/common/hexchat.h @@ -17,11 +17,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ -#ifdef WIN32 -#include "../../config-win32.h" -#else #include "../../config.h" -#endif #include #include diff --git a/src/common/inet.h b/src/common/inet.h index e95a375f..990415be 100644 --- a/src/common/inet.h +++ b/src/common/inet.h @@ -47,7 +47,7 @@ #else -#include "../../config-win32.h" +#include "../../config.h" #ifdef USE_IPV6 #include #include diff --git a/src/common/network.c b/src/common/network.c index ca0923e1..8790f673 100644 --- a/src/common/network.c +++ b/src/common/network.c @@ -23,12 +23,10 @@ #include #include -#ifdef WIN32 -#include "../../config-win32.h" /* grab USE_IPV6 and LOOKUPD defines */ -#else +#ifndef WIN32 #include -#include "../../config.h" #endif +#include "../../config.h" #define WANTSOCKET #define WANTARPA diff --git a/src/common/ssl.c b/src/common/ssl.c index d036fb66..71d4f1da 100644 --- a/src/common/ssl.c +++ b/src/common/ssl.c @@ -27,10 +27,8 @@ #include /* ERR_() */ #ifdef WIN32 #include /* RAND_seed() */ -#include "../../config-win32.h" /* HAVE_SNPRINTF */ -#else -#include "../../config.h" #endif +#include "../../config.h" #include /* asctime() */ #include /* strncpy() */ #include "ssl.h" /* struct cert_info */ diff --git a/src/common/util.c b/src/common/util.c index 4582eec6..69ddaff4 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -35,16 +35,15 @@ #include #include #include "../dirent/dirent-win32.h" -#include "../../config-win32.h" #else #include #include #include #include #include -#include "../../config.h" #endif +#include "../../config.h" #include #include #include "hexchat.h" -- cgit 1.4.1