日期:2014-05-16  浏览次数:20623 次

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 中没有这个定义??是不是少安装了啥东西?

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