跨平台判断64位和32位开发的一些宏定义

#ifdef _WIN32
//windows x86 or x68
#ifdef _WIN64 //x64
    typedef uint64_t point_t;
#else //x86
    typedef uint32_t UPoint;
#endif //_WIN64
#else //unix
#ifdef __x86_64__ //x64
#elif __i386__ //x86
#endif
#endif //_WIN32

猜你喜欢

转载自www.cnblogs.com/pureLaw/p/10839267.html