if (ximg->bits_per_pixel == 32)
{
color_space = mac_cg_color_space_rgb;
- alpha_info = (kCGImageAlphaNoneSkipFirst
-#if MAC_OS_X_VERSION_MAX_ALLOWED >= 1040
- | kCGBitmapByteOrder32Host
-#endif
- );
+ alpha_info = kCGImageAlphaNoneSkipFirst | kCGBitmapByteOrder32Host;
}
else
{
pixmap->bytes_per_line,
mac_cg_color_space_rgb,
kCGImageAlphaNoneSkipFirst
-#if MAC_OS_X_VERSION_MAX_ALLOWED >= 1040
- | kCGBitmapByteOrder32Host
-#endif
- );
+ | kCGBitmapByteOrder32Host);
CG_SET_FILL_COLOR (context, fg);
CGContextFillRect (context, CGRectMake (0, 0, width, height));