代码如下:
#define OTL_BIGINT long long
#define OTL_STR_TO_BIGINT(str,n) { n=atoll(str); }
#define OTL_BIGINT_TO_STR(n,str) { sprintf(str,"%lld", n); }
#include "otlv4.h"// include the OTL 4.0 header fileLinux下OTL 使用long long类型支持数据库的BIGINT,布布扣,bubuko.com
Linux下OTL 使用long long类型支持数据库的BIGINT
原文:http://blog.csdn.net/calmreason/article/details/31781409