diff --git a/cocos/2d/cocos2d.def b/cocos/2d/cocos2d.def index 3cad80013e..31666e8001 100644 --- a/cocos/2d/cocos2d.def +++ b/cocos/2d/cocos2d.def @@ -1,2 +1,3 @@ - LIBRARY +EXPORTS + XXH32 \ No newline at end of file diff --git a/cocos/base/ZipUtils.h b/cocos/base/ZipUtils.h index d6b1e20c9a..9920cd582c 100644 --- a/cocos/base/ZipUtils.h +++ b/cocos/base/ZipUtils.h @@ -223,7 +223,7 @@ namespace cocos2d * * @since v2.0.5 */ - class ZipFile + class CC_DLL ZipFile { public: /** diff --git a/cocos/math/TransformUtils.h b/cocos/math/TransformUtils.h index 83072d7ccb..30ec353ba7 100644 --- a/cocos/math/TransformUtils.h +++ b/cocos/math/TransformUtils.h @@ -30,13 +30,14 @@ THE SOFTWARE. // todo: // when in MAC or windows, it includes #include "CCGL.h" +#include "base/ccMacros.h" namespace cocos2d { struct AffineTransform; -void CGAffineToGL(const AffineTransform &t, GLfloat *m); -void GLToCGAffine(const GLfloat *m, AffineTransform *t); +CC_DLL void CGAffineToGL(const AffineTransform &t, GLfloat *m); +CC_DLL void GLToCGAffine(const GLfloat *m, AffineTransform *t); }//namespace cocos2d #endif // __SUPPORT_TRANSFORM_UTILS_H__