[prev in list] [next in list] [prev in thread] [next in thread]
List: libvir-list
Subject: [RFC 1/4] configmake: Check for WIN32 correctly
From: Andrea Bolognani <abologna () redhat ! com>
Date: 2024-02-29 10:57:16
Message-ID: 20240229105719.2045276-2-abologna () redhat ! com
[Download RAW message or body]
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@redhat.com>
---
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! */
-#if WIN32
+#ifdef WIN32
# include <winsock2.h> /* avoid mingw pollution on DATADIR */
#endif
#mesondefine BINDIR
--
2.43.2
_______________________________________________
Devel mailing list -- devel@lists.libvirt.org
To unsubscribe send an email to devel-leave@lists.libvirt.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic