mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-19 20:46:05 +00:00
cmake: really fix detection of pthread_setname_np() on Apple platforms.
This commit is contained in:
parent
f7f61af12b
commit
272010b612
1 changed files with 2 additions and 2 deletions
|
|
@ -873,9 +873,9 @@ macro(CheckPTHREAD)
|
|||
#include <pthread.h>
|
||||
int main(int argc, char **argv) {
|
||||
#ifdef __APPLE__
|
||||
pthread_setname_np(pthread_self());
|
||||
pthread_setname_np(\"\");
|
||||
#else
|
||||
pthread_setname_np(pthread_self(), \"\");
|
||||
pthread_setname_np(pthread_self(),\"\");
|
||||
#endif
|
||||
return 0;
|
||||
}" HAVE_PTHREAD_SETNAME_NP)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue