Fix Windows 64b G++ under MSys2 compil.

This commit is contained in:
Phenom 2021-03-05 17:39:12 +01:00
parent 0e38f4870f
commit 3d9ba341f0
2 changed files with 5 additions and 1 deletions

View file

@ -43,11 +43,13 @@ int RS_pthread_setname_np(pthread_t /*__target_thread*/, const char *__buf) {
return pthread_setname_np(__buf);
}
#else
#ifndef __WIN64__
int __attribute__((weak)) pthread_setname_np(pthread_t __target_thread, const char *__buf) ;
#endif //__WIN64__
int RS_pthread_setname_np(pthread_t __target_thread, const char *__buf) {
return pthread_setname_np(__target_thread, __buf);
}
#endif
#endif //__APPLE__
/*******