how to define 64 bit length type?

来源:互联网 发布:淘宝小店有链接地址 编辑:程序博客网 时间:2024/06/07 07:03

//gm8180 platform, int8_t is:1,int16_t is:2,uint32_t is:4,int64_t is:8. The following definion is right.
#ifndef int8_t
#define    uint8_t unsigned char
#define    int8_t  char
#define    int64_t long long
#define    int16_t short
#define    uint32_t unsigned long
#define    uint64_t unsigned long long
#endif

GM8180其实就是一款ARM9内核的多媒体SoC。