Fix a compile warning on Windows

This commit is contained in:
rdb 2014-03-07 19:43:48 +00:00
parent e6c8957d27
commit a81e192ba5

View File

@ -35,6 +35,7 @@
b = p2->b << 8; b = p2->b << 8;
#endif #endif
#undef RGB /* from wingdi.h */
#ifdef INTERP_RGB #ifdef INTERP_RGB
#define RGB(x) x #define RGB(x) x
#define RGBPIXEL *pp = RGB_TO_PIXEL(r >> 8,g >> 8,b >> 8) #define RGBPIXEL *pp = RGB_TO_PIXEL(r >> 8,g >> 8,b >> 8)