codeblock + mingw pthread TIMESPEC redefine error (Timespec redefinition error)

If the message can not find pthread.h need ftp://sourceware.org/pub/pthreads-win32/dll-latest/lib/x86 put in pthread lib include or install mingw installer inside

 

In setting inside #define HAVE_STRUCT_TIMESPEC

Guess you like

Origin www.cnblogs.com/5pcake/p/11297434.html