This confuses the deque implementation of gcc which uses std::min
std::max and causes compile failure.
---
 vdagent/vdagent.cpp |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/vdagent/vdagent.cpp b/vdagent/vdagent.cpp
index 06c701d..a288861 100644
--- a/vdagent/vdagent.cpp
+++ b/vdagent/vdagent.cpp
@@ -19,6 +19,8 @@
 #include "desktop_layout.h"
 #include "display_setting.h"
 #include "ximage.h"
+#undef max
+#undef min
 #include <lmcons.h>
 #include <queue>
 #include <set>
-- 
1.7.7.6

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

Reply via email to