Merge pull request #539 from minggo/iss745

fixed #745: export CCTime to dll
This commit is contained in:
minggo 2011-10-08 19:26:40 -07:00
commit 3995408efc
1 changed files with 3 additions and 2 deletions

View File

@ -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);