c data type

#elif define _WIN32
    typedef __int64 int64; //Portable signed long integer 8 bytes          
        typedef int          int32;            
    typedef signed short int int16;             
    typedef char           int8; 

    typedef unsigned __int64 uint64; //Portable unsigned long integer 8 bytes 
        typedef unsigned int     uint32;                
    typedef unsigned short     uint16;                
        typedef unsigned char      uint8;
#else
    typedef long long         int64; //Portable signed long integer 8 bytes
        typedef int          int32;            
    typedef signed short int int16;             
    typedef char           int8; 

    typedef unsigned long long     uint64;//Portable unsigned long integer 8 byte
        typedef unsigned int     uint32;                
    typedef unsigned short     uint16;                
        typedef unsigned char      uint8;
#endif

 

posted @ 2017-03-27 20:51  souwang  阅读(185)  评论(0编辑  收藏  举报