读书人

error: ‘CLOCK_VIRTUAL’ was not de

发布时间: 2012-11-05 09:35:12 作者: rapoo

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

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

读书人网 >UNIXLINUX

热点推荐