mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:01:41 +03:00
tidy-up: casing typos, delete unused Windows version aliases
- cmake: fix casing of `UnixSockets` to match the rest of the codebase. - curl-compilers.m4: fix casing in a comment. - setup-win32: delete unused Windows version constant aliases. Reviewed-by: Marcel Raad Closes #12351
This commit is contained in:
parent
7f33848c98
commit
ab50027ddf
3 changed files with 2 additions and 11 deletions
|
|
@ -1542,7 +1542,7 @@ if(NOT CURL_DISABLE_INSTALL)
|
|||
set(_items)
|
||||
_add_if("SSL" SSL_ENABLED)
|
||||
_add_if("IPv6" ENABLE_IPV6)
|
||||
_add_if("unixsockets" USE_UNIX_SOCKETS)
|
||||
_add_if("UnixSockets" USE_UNIX_SOCKETS)
|
||||
_add_if("libz" HAVE_LIBZ)
|
||||
_add_if("brotli" HAVE_BROTLI)
|
||||
_add_if("zstd" HAVE_ZSTD)
|
||||
|
|
|
|||
|
|
@ -96,18 +96,12 @@
|
|||
#ifndef _WIN32_WINNT_WS03
|
||||
#define _WIN32_WINNT_WS03 0x0502 /* Windows Server 2003 */
|
||||
#endif
|
||||
#ifndef _WIN32_WINNT_WIN6
|
||||
#define _WIN32_WINNT_WIN6 0x0600 /* Windows Vista */
|
||||
#endif
|
||||
#ifndef _WIN32_WINNT_VISTA
|
||||
#define _WIN32_WINNT_VISTA 0x0600 /* Windows Vista */
|
||||
#endif
|
||||
#ifndef _WIN32_WINNT_WS08
|
||||
#define _WIN32_WINNT_WS08 0x0600 /* Windows Server 2008 */
|
||||
#endif
|
||||
#ifndef _WIN32_WINNT_LONGHORN
|
||||
#define _WIN32_WINNT_LONGHORN 0x0600 /* Windows Vista */
|
||||
#endif
|
||||
#ifndef _WIN32_WINNT_WIN7
|
||||
#define _WIN32_WINNT_WIN7 0x0601 /* Windows 7 */
|
||||
#endif
|
||||
|
|
@ -117,9 +111,6 @@
|
|||
#ifndef _WIN32_WINNT_WINBLUE
|
||||
#define _WIN32_WINNT_WINBLUE 0x0603 /* Windows 8.1 */
|
||||
#endif
|
||||
#ifndef _WIN32_WINNT_WINTHRESHOLD
|
||||
#define _WIN32_WINNT_WINTHRESHOLD 0x0A00 /* Windows 10 */
|
||||
#endif
|
||||
#ifndef _WIN32_WINNT_WIN10
|
||||
#define _WIN32_WINNT_WIN10 0x0A00 /* Windows 10 */
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -95,7 +95,7 @@ AC_DEFUN([CURL_CHECK_COMPILER_CLANG], [
|
|||
clangver=`echo $fullclangver | grep "based on LLVM " | "$SED" 's/.*(based on LLVM \(@<:@0-9@:>@*\.@<:@0-9@:>@*\).*)/\1/'`
|
||||
if test -z "$clangver"; then
|
||||
if echo $fullclangver | grep "Apple LLVM version " >/dev/null; then
|
||||
dnl Starting with XCode 7 / clang 3.7, Apple clang won't tell its upstream version
|
||||
dnl Starting with Xcode 7 / clang 3.7, Apple clang won't tell its upstream version
|
||||
clangver="3.7"
|
||||
else
|
||||
clangver=`echo $fullclangver | "$SED" 's/.*version \(@<:@0-9@:>@*\.@<:@0-9@:>@*\).*/\1/'`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue