首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 操作系统 > UNIXLINUX >

error: ‘CLOCK_VIRTUAL’ was not declared in this scope,该如何处理

2012-11-05 
error: ‘CLOCK_VIRTUAL’ was not declared in this scope编译一个程序报错 error: ‘CLOCK_VIRTUAL’ was no

error: ‘CLOCK_VIRTUAL’ was not declared in this scope
编译一个程序报错 error: ‘CLOCK_VIRTUAL’ was not declared in this scope ,google了一下 CLOCK_VIRTUAL 是在sys/time.h中定义的,但是我看了sys/time.h 中没有这个定义??是不是少安装了啥东西?

[解决办法]
没见过 这东西。头文件包含下试试
[解决办法]
没听过这个东东。应该是自己定义的一个宏来的。

热点排行