首页 > 其他分享 >一.error C2011: “timespec”:“struct”类型重定义

一.error C2011: “timespec”:“struct”类型重定义

时间:2023-01-31 13:19:40浏览次数:54  
标签:C2011 定义 timespec error 类型 struct

一.error C2011: “timespec”:“struct”类型重定义

VS2019 在写程序的时候用到了osip_condv.h库,于是就报错 error C2011: “timespec”:“struct”类型重定义。

error C2011: “timespec”:“struct”类型重定义

二.解决办法

在使用的项目属性->预处理器->添加 HAVE_STRUCT_TIMESPEC

 

标签:C2011,定义,timespec,error,类型,struct
From: https://www.cnblogs.com/daemonzd47/p/17078621.html

相关文章