请问使用_int64需要什么头文件?

orangeczh 2006-04-26 03:09:36
Mixer.h:43: `_int64' was not declared in this scope
Mixer.h:43: syntax error before `,' token


用G++编译时的错误提示,我已经包括#include <stdlib.h>了,
怎么回事呢?
...全文
2419 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
x86 2006-04-26
  • 打赏
  • 举报
回复
gcc似乎支持_int64, VC支持

linux下可用long long或者int64_t,在stdint.h定义:
# if __WORDSIZE == 64
typedef long int int64_t;
# else
__extension__
typedef long long int int64_t;
# endif

23,125

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 应用程序开发区
社区管理员
  • 应用程序开发区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧