Hi, I tried to compile this in VS2019 and 2017 and it gives following error: error C2011: 'timespec': 'struct' type redefinition Do we have to add #define HAVE_STRUCT_TIMESPEC in pthread.h with a condition for VS builds? Thanks
Hi,
I tried to compile this in VS2019 and 2017 and it gives following error:
error C2011: 'timespec': 'struct' type redefinition
Do we have to add
#define HAVE_STRUCT_TIMESPEC
in pthread.h with a condition for VS builds?
Thanks