Skip to content

Commit 125dfc5

Browse files
authored
Update src/native/minipal/thread.h
1 parent b5f4d59 commit 125dfc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/native/minipal/thread.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ static inline size_t minipal_get_current_thread_id(void)
4242
tid = (size_t)_lwp_self();
4343
#else
4444
tid = (size_t)(void*)pthread_self();
45-
#endif
4645
#endif
4746

4847
return tid;
48+
#endif
4949
}
5050

5151
static inline int minipal_set_thread_name(pthread_t thread, const char* name)

0 commit comments

Comments
 (0)