[RFC 1/4] configmake: Check for WIN32 correctly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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! */
-#if WIN32
+#ifdef WIN32
 # include <winsock2.h> /* avoid mingw pollution on DATADIR */
 #endif
 #mesondefine BINDIR
-- 
2.43.2
_______________________________________________
Devel mailing list -- devel@xxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxx




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux