diff --git a/module/Vendor/SimpleSocket/include/Host.h b/module/Vendor/SimpleSocket/include/HostConf.h similarity index 98% rename from module/Vendor/SimpleSocket/include/Host.h rename to module/Vendor/SimpleSocket/include/HostConf.h index 564e2f1c..b97cdaaf 100644 --- a/module/Vendor/SimpleSocket/include/Host.h +++ b/module/Vendor/SimpleSocket/include/HostConf.h @@ -49,11 +49,6 @@ #include #include -#ifdef __cplusplus -extern "C" -{ -#endif - /*---------------------------------------------------------------------------*/ /* */ /* OS Identification */ @@ -78,7 +73,7 @@ extern "C" #endif #if defined(_LINUX) || defined(_DARWIN) - typedef int SOCKET; + typedef int SOCKET; #endif #ifdef _WIN32 @@ -215,8 +210,4 @@ extern "C" #define FPRINTF fprintf #endif -#ifdef __cplusplus -} -#endif - #endif /* __HOST_H__ */ diff --git a/module/Vendor/SimpleSocket/include/SimpleSocket.h b/module/Vendor/SimpleSocket/include/SimpleSocket.h index eb823331..e2090941 100644 --- a/module/Vendor/SimpleSocket/include/SimpleSocket.h +++ b/module/Vendor/SimpleSocket/include/SimpleSocket.h @@ -85,7 +85,7 @@ #define IPTOS_LOWDELAY 0x10 #endif -#include "Host.h" +#include "HostConf.h" #include "StatTimer.h" //----------------------------------------------------------------------------- diff --git a/module/Vendor/SimpleSocket/include/StatTimer.h b/module/Vendor/SimpleSocket/include/StatTimer.h index 5a40fa20..2211e64d 100644 --- a/module/Vendor/SimpleSocket/include/StatTimer.h +++ b/module/Vendor/SimpleSocket/include/StatTimer.h @@ -56,7 +56,7 @@ #include #endif -#include "Host.h" +#include "HostConf.h" #if defined(_WIN32) #define GET_CLOCK_COUNT(x) QueryPerformanceCounter((LARGE_INTEGER *)x)