mscms: Restore the preprocessor hack.

oldstable
Hans Leidekker 2006-10-04 11:19:38 +02:00 committed by Alexandre Julliard
parent 3ad9798263
commit eeb206c615
1 changed files with 12 additions and 0 deletions

View File

@ -52,6 +52,18 @@
#include <lcms.h>
#endif
/* Funny thing is lcms.h defines DWORD as an 'unsigned long' whereas Wine
* defines it as an 'unsigned int'. To avoid compiler warnings we use a
* preprocessor define for DWORD and LPDWORD to get back Wine's orginal
* (typedef) definitions.
*/
#undef DWORD
#undef LPDWORD
#define DWORD DWORD
#define LPDWORD LPDWORD
extern DWORD MSCMS_hprofile2access( HPROFILE );
extern HPROFILE MSCMS_handle2hprofile( HANDLE file );
extern HPROFILE MSCMS_cmsprofile2hprofile( cmsHPROFILE cmsprofile );