Index: type.h
===================================================================
--- /YC3121_SDK/fw/core/type.h	(revision 718)
+++ /YC3121_SDK/fw/core/type.h	(working copy)
@@ -9,6 +9,7 @@
 #ifndef __TYPE_H__
 #define __TYPE_H__
 
+#if defined ( __CC_ARM  )
 typedef unsigned char      uint8_t;
 typedef unsigned short     uint16_t;
 typedef unsigned int       uint32_t;
@@ -20,6 +21,11 @@
 typedef signed short      int16_t;
 typedef signed int        int32_t;
 typedef signed long long  int64_t;
+#else
+#include "stdio.h"
+typedef unsigned char      byte;
+typedef unsigned short     word;
+#endif
 
 #ifndef Boolean
 typedef enum {FALSE = 0, TRUE = 1} Boolean;
