[PATCH spice-server 18/33] windows: Undefine some conflicting preprocessor macros

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

 



Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx>
---
 server/red-qxl.c | 1 +
 server/reds.c    | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/server/red-qxl.c b/server/red-qxl.c
index cec3eefb..886bf9f5 100644
--- a/server/red-qxl.c
+++ b/server/red-qxl.c
@@ -39,6 +39,7 @@
 
 #include "red-qxl.h"
 
+#undef interface
 
 struct QXLState {
     QXLWorker qxl_worker;
diff --git a/server/reds.c b/server/reds.c
index faa62ede..2897aecb 100644
--- a/server/reds.c
+++ b/server/reds.c
@@ -79,6 +79,9 @@
 #include "net-utils.h"
 #include "red-stream-device.h"
 
+#undef MAX_MONITORS
+#undef interface
+
 #define REDS_MAX_STAT_NODES 100
 
 static void reds_client_monitors_config(RedsState *reds, VDAgentMonitorsConfig *monitors_config);
-- 
2.17.2

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux Virtualization]     [Linux Virtualization]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]