mirror of
https://github.com/encounter/SDL.git
synced 2025-06-02 04:31:24 +00:00
cmake: really fix detection of pthread_setname_np() on Apple platforms.
This commit is contained in:
parent
718a880f91
commit
9b061c04e7
@ -992,7 +992,7 @@ 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(),\"\");
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user