1
0
Fork 0

(svn r25712) -Fix: define kCGBitmapByteOrder32Host to 0 if it's missing.

release/1.4
fonsinchen 2013-08-10 12:47:20 +00:00
parent f42d60150d
commit 8222e18586
1 changed files with 7 additions and 0 deletions

View File

@ -34,6 +34,13 @@
#include "../../core/math_func.hpp"
#include "../../gfx_func.h"
/* On some old versions of MAC OS this may not be defined.
* Those versions generally only produce code for PPC. So it should be safe to
* set this to 0. */
#ifndef kCGBitmapByteOrder32Host
#define kCGBitmapByteOrder32Host 0
#endif
/**
* Important notice regarding all modifications!!!!!!!
* There are certain limitations because the file is objective C++.