mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-11 15:39:36 -05:00
Fix Windows 64b G++ under MSys2 compil.
This commit is contained in:
parent
0e38f4870f
commit
3d9ba341f0
@ -43,11 +43,13 @@ int RS_pthread_setname_np(pthread_t /*__target_thread*/, const char *__buf) {
|
|||||||
return pthread_setname_np(__buf);
|
return pthread_setname_np(__buf);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
#ifndef __WIN64__
|
||||||
int __attribute__((weak)) pthread_setname_np(pthread_t __target_thread, const char *__buf) ;
|
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) {
|
int RS_pthread_setname_np(pthread_t __target_thread, const char *__buf) {
|
||||||
return pthread_setname_np(__target_thread, __buf);
|
return pthread_setname_np(__target_thread, __buf);
|
||||||
}
|
}
|
||||||
#endif
|
#endif //__APPLE__
|
||||||
|
|
||||||
|
|
||||||
/*******
|
/*******
|
||||||
|
@ -102,6 +102,8 @@ win32 {
|
|||||||
for(lib, LIB_DIR):LIBS += -L"$$lib"
|
for(lib, LIB_DIR):LIBS += -L"$$lib"
|
||||||
for(bin, BIN_DIR):LIBS += -L"$$bin"
|
for(bin, BIN_DIR):LIBS += -L"$$bin"
|
||||||
LIBS += -lpthread
|
LIBS += -lpthread
|
||||||
|
|
||||||
|
QMAKE_LFLAGS += -Wl,--end-group
|
||||||
}
|
}
|
||||||
|
|
||||||
macx {
|
macx {
|
||||||
|
Loading…
Reference in New Issue
Block a user