2014-08-18 14:58:57 +08:00
|
|
|
#ifndef __COCOS_3D_3DEXPORT_H__
|
|
|
|
#define __COCOS_3D_3DEXPORT_H__
|
|
|
|
|
|
|
|
#if defined(WIN32) && defined(_WINDOWS)
|
|
|
|
#ifdef __MINGW32__
|
|
|
|
#include <string.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(_USE3DDLL)
|
|
|
|
#define CC_3D_DLL __declspec(dllexport)
|
|
|
|
#else /* use a DLL library */
|
|
|
|
#define CC_3D_DLL __declspec(dllimport)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
/* Define NULL pointer value */
|
|
|
|
#ifndef NULL
|
|
|
|
#ifdef __cplusplus
|
|
|
|
#define NULL 0
|
|
|
|
#else
|
|
|
|
#define NULL ((void *)0)
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#else
|
|
|
|
#define CC_3D_DLL
|
|
|
|
#endif
|
|
|
|
|
2014-08-18 15:27:54 +08:00
|
|
|
#endif // __COCOS_3D_3DEXPORT_H__
|