olepicture.c patch

Francois Gouget fgouget at free.fr
Sat Oct 13 13:13:44 CDT 2001


   Wouldn't this be better (do the trick inside the #ifdef
HAVE_JPEGLIB_H):

 #ifdef HAVE_LIBJPEG
 /* This is a hack, so jpeglib.h does not redefine INT32 and the like*/
 #define XMD_H 
 #ifdef HAVE_JPEGLIB_H
+# define UINT16 JPEG_UINT16
 # include <jpeglib.h>
+# undef UINT16
 #endif
 #endif



--
Francois Gouget         fgouget at free.fr        http://fgouget.free.fr/
           If it stinks, it's chemistry. If it moves, it's biology.
                  If it does not work, It's computer science.






More information about the wine-devel mailing list