diff --git a/cocos/platform/linux/CCStdC-linux.h b/cocos/platform/linux/CCStdC-linux.h index c1669fd09b..b92a9a0ec8 100644 --- a/cocos/platform/linux/CCStdC-linux.h +++ b/cocos/platform/linux/CCStdC-linux.h @@ -50,12 +50,6 @@ THE SOFTWARE. #define MAX(x,y) (((x) < (y)) ? (y) : (x)) #endif // MAX -// some function linux do not have -#define tanf tan -#define sqrtf sqrt -#define cosf cos -#define sinf sin - #endif // CC_TARGET_PLATFORM == CC_PLATFORM_LINUX #endif // __CC_STD_C_H__ diff --git a/cocos/platform/tizen/CCStdC-tizen.h b/cocos/platform/tizen/CCStdC-tizen.h index ae6c7cb563..60419686a0 100644 --- a/cocos/platform/tizen/CCStdC-tizen.h +++ b/cocos/platform/tizen/CCStdC-tizen.h @@ -49,12 +49,6 @@ #define MAX(x,y) (((x) < (y)) ? (y) : (x)) #endif // MAX -// some function linux do not have -#define tanf tan -#define sqrtf sqrt -#define cosf cos -#define sinf sin - #endif // CC_TARGET_PLATFORM == CC_PLATFORM_TIZEN #endif // __CC_STD_C_H__