--- libgdiplus-5.4/src/jpegcodec-orig.c	2017-11-10 16:06:53.093451700 -0500
+++ libgdiplus-5.4/src/jpegcodec.c	2017-11-10 16:06:55.164570500 -0500
@@ -33,7 +33,7 @@
 GUID gdip_jpg_image_format_guid = {0xb96b3caeU, 0x0728U, 0x11d3U, {0x9d, 0x7b, 0x00, 0x00, 0xf8, 0x1e, 0xf3, 0x2e}};
 extern GUID GdipEncoderQuality;
 
-#ifdef HAVE_LIBJPEG
+#ifndef HAVE_LIBJPEG
 
 #include <setjmp.h>
 
