summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--image/jpeg.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/image/jpeg.c b/image/jpeg.c
index 57c70213e..d4f5f537d 100644
--- a/image/jpeg.c
+++ b/image/jpeg.c
@@ -40,13 +40,14 @@
#include "utils/messages.h"
#include "utils/utils.h"
-
+#ifdef riscos
/* We prefer the library to be configured with these options to save
* copying data during decoding. */
#if RGB_RED != 0 || RGB_GREEN != 1 || RGB_BLUE != 2 || RGB_PIXELSIZE != 4
#warning JPEG library not optimally configured. Decoding will be slower.
#endif
-
+/* but we don't care if we're not on RISC OS */
+#endif
static char nsjpeg_error_buffer[JMSG_LENGTH_MAX];