[Spice-devel] [PATCH] mingw32: refix to build on mingw..

Alon Levy alevy at redhat.com
Thu Dec 30 02:14:00 PST 2010


---
 client/jpeg_decoder.cpp  |    2 +-
 client/mjpeg_decoder.cpp |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/client/jpeg_decoder.cpp b/client/jpeg_decoder.cpp
index 18be6ae..f7aba76 100644
--- a/client/jpeg_decoder.cpp
+++ b/client/jpeg_decoder.cpp
@@ -20,7 +20,7 @@
 #include "debug.h"
 #include "utils.h"
 
-#ifndef jpeg_boolean
+#if !defined(jpeg_boolean) && !defined(__MINGW32__)
 #define jpeg_boolean boolean
 #endif
 
diff --git a/client/mjpeg_decoder.cpp b/client/mjpeg_decoder.cpp
index eed856b..4950950 100644
--- a/client/mjpeg_decoder.cpp
+++ b/client/mjpeg_decoder.cpp
@@ -21,7 +21,7 @@
 #include "utils.h"
 #include "mjpeg_decoder.h"
 
-#ifndef jpeg_boolean
+#if !defined(jpeg_boolean) && !defined(__MINGW32__)
 #define jpeg_boolean boolean
 #endif
 
-- 
1.7.3.4



More information about the Spice-devel mailing list