Closed yongningcds closed 6 years ago
redefinition of "struct timespec" compile time error. This is more of Windows problem, but I resolved it by adding #define HAVE_STRUCT_TIMESPEC before #include . Found solution here https://stackoverflow.com/questions/33557506/timespec-redefinition-error
That is a known issue with the Windows pthread library. If you download the C client via nuget package manager, HAVE_STRUCT_TIMESPEC will automatically be defined for you.
redefinition of "struct timespec" compile time error. This is more of Windows problem, but I resolved it by adding #define HAVE_STRUCT_TIMESPEC before #include.
Found solution here https://stackoverflow.com/questions/33557506/timespec-redefinition-error