axmol/cocos/editor-support/cocostudio/CocosStudioExport.h

31 lines
759 B
C
Raw Normal View History

2015-06-17 13:16:06 +08:00
#ifndef __CCCOCOSSTUDIO_H__
#define __CCCOCOSSTUDIO_H__
2014-10-15 05:15:21 +08:00
#if (defined(WIN32) && defined(_WINDOWS)) || defined(WINRT) || defined(WP8)
#ifdef __MINGW32__
#include <string.h>
#endif
#if defined(CC_STATIC)
#define CC_STUDIO_DLL
#else
#if defined(_USRSTUDIODLL)
#define CC_STUDIO_DLL __declspec(dllexport)
#else /* use a DLL library */
#define CC_STUDIO_DLL __declspec(dllimport)
#endif
#endif
/* Define NULL pointer value */
#ifndef NULL
#ifdef __cplusplus
#define NULL 0
#else
#define NULL ((void *)0)
#endif
#endif
#else
#define CC_STUDIO_DLL
#endif
#endif /* __CCEXTENSIONEXPORT_H__*/