Skip to content
Snippets Groups Projects
Commit 633e754a authored by deuce's avatar deuce
Browse files

Correctly handle GLibC versions < 2.12

parent 22e59afd
No related branches found
No related tags found
No related merge requests found
......@@ -106,6 +106,8 @@ pthread_mutex_t pthread_mutex_initializer_np(BOOL recursive);
#include <features.h>
#if (__GLIBC__ > 2) || ((__GLIBC__ == 2) && (__GLIBC_MINOR__ >= 12))
#define SetThreadName(c) pthread_setname_np(pthread_self(),c)
#else
#define SetThreadName(c)
#endif
#else
#define SetThreadName(c)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment