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

Include thread names for release builds too.

parent 8d18b896
No related branches found
No related tags found
No related merge requests found
......@@ -99,7 +99,6 @@ pthread_mutex_t pthread_mutex_initializer_np(BOOL recursive);
#if defined(_POSIX_THREADS)
#ifdef _DEBUG
#if defined (__FreeBSD__) || defined (__OpenBSD__)
#include <pthread_np.h>
#define SetThreadName(c) pthread_set_name_np(pthread_self(),c)
......@@ -111,9 +110,6 @@ pthread_mutex_t pthread_mutex_initializer_np(BOOL recursive);
#else
#define SetThreadName(c)
#endif
#else
#define SetThreadName(c)
#endif
#else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment