[Spice-commits] client/jpeg_decoder.cpp client/mjpeg_decoder.cpp

Alon Levy alon at kemper.freedesktop.org
Thu Dec 30 01:27:58 PST 2010


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

New commits:
commit 3c4633500466914e33d577582803a9258b95b984
Author: Tiziano Mueller <dev-zero at gentoo.org>
Date:   Wed Dec 29 14:23:04 2010 +0100

    jpeg_boolean is a mingw32-libjpeg specific thing. Use a define check rather than a version check.

diff --git a/client/jpeg_decoder.cpp b/client/jpeg_decoder.cpp
index f5a0198..18be6ae 100644
--- a/client/jpeg_decoder.cpp
+++ b/client/jpeg_decoder.cpp
@@ -20,7 +20,7 @@
 #include "debug.h"
 #include "utils.h"
 
-#if JPEG_LIB_VERSION < 70
+#ifndef jpeg_boolean
 #define jpeg_boolean boolean
 #endif
 
diff --git a/client/mjpeg_decoder.cpp b/client/mjpeg_decoder.cpp
index bad90d4..eed856b 100644
--- a/client/mjpeg_decoder.cpp
+++ b/client/mjpeg_decoder.cpp
@@ -21,7 +21,7 @@
 #include "utils.h"
 #include "mjpeg_decoder.h"
 
-#if JPEG_LIB_VERSION < 70
+#ifndef jpeg_boolean
 #define jpeg_boolean boolean
 #endif
 


More information about the Spice-commits mailing list