codeblock+ mingw pthread TIMESPEC重新定义错误(Timespec redefinition error)
如果报找不到pthread.h 需要ftp://sourceware.org/pub/pthreads-win32/dll-latest/lib/x86 放到lib include 或者在mingw installer 里面安装pthread
在setting 里面 #define HAVE_STRUCT_TIMESPEC

如果报找不到pthread.h 需要ftp://sourceware.org/pub/pthreads-win32/dll-latest/lib/x86 放到lib include 或者在mingw installer 里面安装pthread
在setting 里面 #define HAVE_STRUCT_TIMESPEC
