On a Thursday in 2024, Andrea Bolognani wrote:
The macro is only defined on Windows, so we shouldn't check its value but rather whether it's defined at all. Signed-off-by: Andrea Bolognani <abologna@xxxxxxxxxx> --- configmake.h.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configmake.h.in b/configmake.h.in index c9930b6049..6b309472e5 100644 --- a/configmake.h.in +++ b/configmake.h.in @@ -1,5 +1,5 @@ /* DO NOT EDIT! GENERATED AUTOMATICALLY! */
This comment was obsolete back when it was added.
-#if WIN32 +#ifdef WIN32 # include <winsock2.h> /* avoid mingw pollution on DATADIR */ #endif #mesondefine BINDIR
Reviewed-by: Ján Tomko <jtomko@xxxxxxxxxx> Jano
Attachment:
signature.asc
Description: PGP signature