X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/42cfaf8cd4464466398ed888cb2caa5ee360c7ef..2356708db31b737c6eae53c2316b642aa5a2e68d:/utils/ogl/src/mfutils.h diff --git a/utils/ogl/src/mfutils.h b/utils/ogl/src/mfutils.h index e4b1c2c4fe..b070e1781d 100644 --- a/utils/ogl/src/mfutils.h +++ b/utils/ogl/src/mfutils.h @@ -19,7 +19,7 @@ #include -#ifndef __WXMSW__ +#ifndef GetRValue #define GetRValue(rgb) ((unsigned char)(rgb)) #define GetGValue(rgb) ((unsigned char)(((int)(rgb)) >> 8)) #define GetBValue(rgb) ((unsigned char)((rgb)>>16)) @@ -27,7 +27,7 @@ /* Metafile Functions */ /* Win32s/Borland need these macros, although META_SETBKCOLOR is defined */ -#if !defined(META_SETBKCOLOR) || defined(WIN32) +#if 1 // !defined(META_SETBKCOLOR) // || defined(WIN32) #define META_SETBKCOLOR 0x0201 #define META_SETBKMODE 0x0102 @@ -129,7 +129,7 @@ /* PitchAndFamily family values (high 4 bits) */ /* Win32s/Borland don't need this */ -#if !defined(__BORLANDC__) && !defined(WIN32) +#ifndef FF_DONTCARE // !defined(__BORLANDC__) && !defined(WIN32) #define FF_DONTCARE 0x00 #define FF_ROMAN 0x10 #define FF_SWISS 0x20