mirror of https://github.com/axmolengine/axmol.git
Update CCImage.cpp
This commit is contained in:
parent
5f74b8568d
commit
770d5e91b7
cocos/platform
|
@ -39,6 +39,7 @@ THE SOFTWARE.
|
||||||
|
|
||||||
extern "C"
|
extern "C"
|
||||||
{
|
{
|
||||||
|
#if defined(__APPLE__) || defined(__unix)
|
||||||
#ifndef __ENABLE_COMPATIBILITY_WITH_UNIX_2003__
|
#ifndef __ENABLE_COMPATIBILITY_WITH_UNIX_2003__
|
||||||
#define __ENABLE_COMPATIBILITY_WITH_UNIX_2003__
|
#define __ENABLE_COMPATIBILITY_WITH_UNIX_2003__
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
@ -55,6 +56,7 @@ extern "C"
|
||||||
return strerror(errnum);
|
return strerror(errnum);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
#include "png.h"
|
#include "png.h"
|
||||||
#include "tiffio.h"
|
#include "tiffio.h"
|
||||||
#include "base/etc1.h"
|
#include "base/etc1.h"
|
||||||
|
|
Loading…
Reference in New Issue