[libvirt PATCH v2 52/56] src: add define of ENOMSG for MinGW

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

 



MinGW lacks ENOMSG until version 6.0.0 (Fedora 31).

Signed-off-by: Daniel P. Berrangé <berrange@xxxxxxxxxx>
---
 src/internal.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/internal.h b/src/internal.h
index 8c9322ec1e..96a43113cb 100644
--- a/src/internal.h
+++ b/src/internal.h
@@ -482,3 +482,9 @@ enum {
 #ifndef ENODATA
 # define ENODATA EIO
 #endif
+
+#ifdef WIN32
+# ifndef ENOMSG
+#  define ENOMSG 122
+# endif
+#endif
-- 
2.24.1





[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