CVS: winex/dlls/oleaut32 olepicture.c,1.5,1.6

[email protected]
Newsgroups gmane.comp.emulators.winex.cvs
Message-ID <[email protected]>
Subject: winex/dlls/oleaut32 olepicture.c,1.5,1.6Update of /var/lib/cvsd/cvsroot/winex/dlls/oleaut32
In directory agravaine:/tmp/cvs-serv16914/dlls/oleaut32

Modified Files:
	olepicture.c 
Log Message:

- require libjpeg & libpng on MacOS X
- fixes to build with the above on MacOS X


Index: olepicture.c
===================================================================
RCS file: /var/lib/cvsd/cvsroot/winex/dlls/oleaut32/olepicture.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- olepicture.c	6 Nov 2006 16:27:03 -0000	1.5
+++ olepicture.c	30 Mar 2007 20:23:48 -0000	1.6
@@ -46,7 +46,7 @@
 /* This is a hack, so jpeglib.h does not redefine INT32 and the like*/
 #define XMD_H
 #define UINT16 JPEG_UINT16
-#ifdef HAVE_JPEGLIB_H
+#if defined(HAVE_JPEGLIB_H) || defined(HAVE_LIBJPEG_JPEGLIB_H)
 # include <jpeglib.h>
 #endif
 #undef UINT16
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.