]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
tidy-up: casing typos, delete unused Windows version aliases
authorViktor Szakats <commit@vsz.me>
Wed, 15 Nov 2023 22:31:44 +0000 (22:31 +0000)
committerViktor Szakats <commit@vsz.me>
Sat, 18 Nov 2023 11:16:32 +0000 (11:16 +0000)
- 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

CMakeLists.txt
lib/setup-win32.h
m4/curl-compilers.m4

index 07f4352f0dde2507ca6c483e3020dac1deaf8739..db138237aab8ddd2a5b8ce26620d2ba80c5df96c 100644 (file)
@@ -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)
index 5fe4b4c82b09fcd56604bb42b3ae22e0210cbafb..4e034d4bb2111fdb331904af9f7de5e1a9d81ec6 100644 (file)
 #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
 #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
index 6ad9ef2ac5457dd26816071c737ea817fcc6bc65..636c2fafb81ef1072b97b21082e3377063ba1908 100644 (file)
@@ -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/'`