summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mysys/my_pthread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/my_pthread.c b/mysys/my_pthread.c
index f88a884a1bc..4f472f61593 100644
--- a/mysys/my_pthread.c
+++ b/mysys/my_pthread.c
@@ -95,9 +95,9 @@ void *my_pthread_getspecific_imp(pthread_key_t key)
don't kill the LibC Reaper thread or the main thread
*/
#include <nks/thread.h>
+#undef pthread_exit
void my_pthread_exit(void *status)
{
-#undef pthread_exit
NXThreadId_t tid = NXThreadGetId();
NXContext_t ctx;
char name[PATH_MAX] = "";