]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
windows: document toolchain support for some macros (cont.)
authorViktor Szakats <commit@vsz.me>
Thu, 31 Jul 2025 05:42:50 +0000 (07:42 +0200)
committerViktor Szakats <commit@vsz.me>
Thu, 31 Jul 2025 07:29:48 +0000 (09:29 +0200)
Follow-up to 3bfcfe82b9e7fe18cdbd3a06b219a8ce40188a23 #18085

Closes #18113

lib/vtls/schannel.c

index 34d48126b46b346cfc64a24b89f42477a4cfd782..6226f427bf468dbc8a3656434fd80614f4aadb7e 100644 (file)
 #endif
 #endif
 
+/* Offered by mingw-w64 v8+. MS SDK 7.0A+. */
 #ifndef SP_PROT_TLS1_0_CLIENT
 #define SP_PROT_TLS1_0_CLIENT           SP_PROT_TLS1_CLIENT
 #endif
-
 #ifndef SP_PROT_TLS1_1_CLIENT
 #define SP_PROT_TLS1_1_CLIENT           0x00000200
 #endif
-
 #ifndef SP_PROT_TLS1_2_CLIENT
 #define SP_PROT_TLS1_2_CLIENT           0x00000800
 #endif
 
+/* Offered by mingw-w64 v8+. MS SDK ~10+/~VS2017+. */
 #ifndef SP_PROT_TLS1_3_CLIENT
 #define SP_PROT_TLS1_3_CLIENT           0x00002000
 #endif
-
 #ifndef SCH_USE_STRONG_CRYPTO
 #define SCH_USE_STRONG_CRYPTO           0x00400000
 #endif
 
+/* Offered by mingw-w64 v10+. MS SDK 7.0A+. */
 #ifndef SECBUFFER_ALERT
 #define SECBUFFER_ALERT                 17
 #endif