mirror of https://github.com/axmolengine/axmol.git
Merge pull request #539 from minggo/iss745
fixed #745: export CCTime to dll
This commit is contained in:
commit
3995408efc
|
@ -26,16 +26,17 @@ THE SOFTWARE.
|
|||
#define __PLATFORM_H__
|
||||
|
||||
#include "CCThread.h"
|
||||
#include "CCPlatformMacros.h"
|
||||
|
||||
NS_CC_BEGIN;
|
||||
|
||||
struct cc_timeval
|
||||
struct CC_DLL cc_timeval
|
||||
{
|
||||
long tv_sec; // seconds
|
||||
long tv_usec; // microSeconds
|
||||
};
|
||||
|
||||
class CCTime
|
||||
class CC_DLL CCTime
|
||||
{
|
||||
public:
|
||||
static int gettimeofdayCocos2d(struct cc_timeval *tp, void *tzp);
|
||||
|
|
Loading…
Reference in New Issue