Loading CHANGES +6 −0 Original line number Diff line number Diff line Loading @@ -7,6 +7,12 @@ Changelog Yang Tse (18 Dec 2007) - MSVC 9.0 (VS2008) does not support Windows build targets prior to WinXP, and makes wrong asumptions of build target when it isn't specified. So, if no build target has been defined we will target WinXP when building curl/libcurl with MSVC 9.0 (VS2008). Daniel S (17 Dec 2007) - Mateusz Loskot pointed out that MSVC 9.0 (VS2008) has the pollfd struct and defines in winsock2.h somehow differently than previous versions and that Loading ares/config-win32.h +14 −0 Original line number Diff line number Diff line Loading @@ -169,6 +169,20 @@ #define _CRT_NONSTDC_NO_DEPRECATE 1 #endif /* VS2008 does not support Windows build targets prior to WinXP, */ /* so, if no build target has been defined we will target WinXP. */ #if defined(_MSC_VER) && (_MSC_VER >= 1500) # ifndef _WIN32_WINNT # define _WIN32_WINNT 0x0501 # endif # ifndef WINVER # define WINVER 0x0501 # endif # if (_WIN32_WINNT < 0x0501) || (WINVER < 0x0501) # error VS2008 does not support Windows build targets prior to WinXP # endif #endif /* ---------------------------------------------------------------- */ /* IPV6 COMPATIBILITY */ /* ---------------------------------------------------------------- */ Loading lib/config-win32.h +14 −0 Original line number Diff line number Diff line Loading @@ -353,6 +353,20 @@ #define _CRT_NONSTDC_NO_DEPRECATE 1 #endif /* VS2008 does not support Windows build targets prior to WinXP, */ /* so, if no build target has been defined we will target WinXP. */ #if defined(_MSC_VER) && (_MSC_VER >= 1500) # ifndef _WIN32_WINNT # define _WIN32_WINNT 0x0501 # endif # ifndef WINVER # define WINVER 0x0501 # endif # if (_WIN32_WINNT < 0x0501) || (WINVER < 0x0501) # error VS2008 does not support Windows build targets prior to WinXP # endif #endif /* ---------------------------------------------------------------- */ /* LDAP SUPPORT */ /* ---------------------------------------------------------------- */ Loading src/config-win32.h +14 −0 Original line number Diff line number Diff line Loading @@ -187,6 +187,20 @@ #define _CRT_NONSTDC_NO_DEPRECATE 1 #endif /* VS2008 does not support Windows build targets prior to WinXP, */ /* so, if no build target has been defined we will target WinXP. */ #if defined(_MSC_VER) && (_MSC_VER >= 1500) # ifndef _WIN32_WINNT # define _WIN32_WINNT 0x0501 # endif # ifndef WINVER # define WINVER 0x0501 # endif # if (_WIN32_WINNT < 0x0501) || (WINVER < 0x0501) # error VS2008 does not support Windows build targets prior to WinXP # endif #endif /* ---------------------------------------------------------------- */ /* ADDITIONAL DEFINITIONS */ /* ---------------------------------------------------------------- */ Loading Loading
CHANGES +6 −0 Original line number Diff line number Diff line Loading @@ -7,6 +7,12 @@ Changelog Yang Tse (18 Dec 2007) - MSVC 9.0 (VS2008) does not support Windows build targets prior to WinXP, and makes wrong asumptions of build target when it isn't specified. So, if no build target has been defined we will target WinXP when building curl/libcurl with MSVC 9.0 (VS2008). Daniel S (17 Dec 2007) - Mateusz Loskot pointed out that MSVC 9.0 (VS2008) has the pollfd struct and defines in winsock2.h somehow differently than previous versions and that Loading
ares/config-win32.h +14 −0 Original line number Diff line number Diff line Loading @@ -169,6 +169,20 @@ #define _CRT_NONSTDC_NO_DEPRECATE 1 #endif /* VS2008 does not support Windows build targets prior to WinXP, */ /* so, if no build target has been defined we will target WinXP. */ #if defined(_MSC_VER) && (_MSC_VER >= 1500) # ifndef _WIN32_WINNT # define _WIN32_WINNT 0x0501 # endif # ifndef WINVER # define WINVER 0x0501 # endif # if (_WIN32_WINNT < 0x0501) || (WINVER < 0x0501) # error VS2008 does not support Windows build targets prior to WinXP # endif #endif /* ---------------------------------------------------------------- */ /* IPV6 COMPATIBILITY */ /* ---------------------------------------------------------------- */ Loading
lib/config-win32.h +14 −0 Original line number Diff line number Diff line Loading @@ -353,6 +353,20 @@ #define _CRT_NONSTDC_NO_DEPRECATE 1 #endif /* VS2008 does not support Windows build targets prior to WinXP, */ /* so, if no build target has been defined we will target WinXP. */ #if defined(_MSC_VER) && (_MSC_VER >= 1500) # ifndef _WIN32_WINNT # define _WIN32_WINNT 0x0501 # endif # ifndef WINVER # define WINVER 0x0501 # endif # if (_WIN32_WINNT < 0x0501) || (WINVER < 0x0501) # error VS2008 does not support Windows build targets prior to WinXP # endif #endif /* ---------------------------------------------------------------- */ /* LDAP SUPPORT */ /* ---------------------------------------------------------------- */ Loading
src/config-win32.h +14 −0 Original line number Diff line number Diff line Loading @@ -187,6 +187,20 @@ #define _CRT_NONSTDC_NO_DEPRECATE 1 #endif /* VS2008 does not support Windows build targets prior to WinXP, */ /* so, if no build target has been defined we will target WinXP. */ #if defined(_MSC_VER) && (_MSC_VER >= 1500) # ifndef _WIN32_WINNT # define _WIN32_WINNT 0x0501 # endif # ifndef WINVER # define WINVER 0x0501 # endif # if (_WIN32_WINNT < 0x0501) || (WINVER < 0x0501) # error VS2008 does not support Windows build targets prior to WinXP # endif #endif /* ---------------------------------------------------------------- */ /* ADDITIONAL DEFINITIONS */ /* ---------------------------------------------------------------- */ Loading