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

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


没见过 这东西。头文件包含下试试


没听过这个东东。应该是自己定义的一个宏来的。

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

相关文章:

你感兴趣的文章:

标签云: