engine: platform: linux: fix build with musl (and probably other libcs) using portability macro
This commit is contained in:
parent
5f31417bae
commit
296f89acf9
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ void Linux_SetTimer( float tm )
|
|||
// this path availiable in POSIX, but may signal wrong thread...
|
||||
// sev.sigev_notify = SIGEV_SIGNAL;
|
||||
sev.sigev_notify = SIGEV_THREAD_ID;
|
||||
sev._sigev_un._tid = gettid();
|
||||
sev.sigev_notify_thread_id = gettid();
|
||||
sev.sigev_signo = DEBUG_TIMER_SIGNAL;
|
||||
sev.sigev_value.sival_ptr = &timerid;
|
||||
timer_create( CLOCK_REALTIME, &sev, &timerid );
|
||||
|
|
Loading…
Add table
Reference in a new issue