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

Frediano Ziglio fziglio at redhat.com
Fri Dec 21 12:03:06 UTC 2018


Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
 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



More information about the Spice-devel mailing list