Compilation fixes in LocalStorage. include localStorage.h.

This commit is contained in:
James Chen 2014-01-20 23:01:44 +08:00
parent 84479b5df0
commit 1c31871543
2 changed files with 2 additions and 1 deletions

View File

@ -27,6 +27,7 @@
Works on cocos2d-iphone and cocos2d-x. Works on cocos2d-iphone and cocos2d-x.
*/ */
#include "LocalStorage.h"
#include "CCPlatformMacros.h" #include "CCPlatformMacros.h"
#if (CC_TARGET_PLATFORM != CC_PLATFORM_ANDROID) #if (CC_TARGET_PLATFORM != CC_PLATFORM_ANDROID)

View File

@ -28,6 +28,7 @@
Works on cocos2d-iphone and cocos2d-x. Works on cocos2d-iphone and cocos2d-x.
*/ */
#include "LocalStorage.h"
#include "CCPlatformMacros.h" #include "CCPlatformMacros.h"
#if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID) #if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID)
@ -35,7 +36,6 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <assert.h> #include <assert.h>
#include <string>
#include "jni.h" #include "jni.h"
#include "jni/JniHelper.h" #include "jni/JniHelper.h"