cmake: delete redundant macro definition SECURITY_WIN32

Stop explicitly defining `SECURITY_WIN32` in CMake builds.

No other build systems define this macro, because it's unconditionally
defined in `lib/curl_sspi.h` already. This is the only curl source using
the `sspi.h` and `security.h` Win32 headers, and no other Win32 headers
need this macro.

Reviewed-by: Jay Satiro
Closes #10341
This commit is contained in:
Viktor Szakats 2023-01-25 11:55:57 +00:00
parent 3f11122b2f
commit c0958b7ea1
No known key found for this signature in database
GPG Key ID: B5ABD165E2AEF201

View File

@ -402,7 +402,6 @@ if(CURL_USE_SCHANNEL)
endif()
if(CURL_WINDOWS_SSPI)
set(USE_WINDOWS_SSPI ON)
list(APPEND CMAKE_REQUIRED_DEFINITIONS -DSECURITY_WIN32)
endif()
if(CURL_USE_SECTRANSP)