本文共 265 字,大约阅读时间需要 1 分钟。
在网络上的第三方库,很多人有用到stdint.h,这个文件在2008上是没有的,所以我目前的做法是加判断,还在测试中,先写出来看看
#ifdef _MSC_VER
typedef unsigned char uint8_t; typedef __int32 int32_t; typedef unsigned __int32 uint32_t; typedef __int64 int64_t; typedef unsigned __int64 uint64_t; #else #include <stdint.h> #endif转载地址:http://yyzli.baihongyu.com/