fix haiku

This commit is contained in:
avanspector
2024-02-26 07:59:53 +01:00
parent 9d4c2ba0d8
commit 3ebf5dcc0e
4 changed files with 26 additions and 15 deletions
+8
View File
@@ -0,0 +1,8 @@
//+private
package sync
import "core:sys/haiku"
_current_thread_id :: proc "contextless" () -> int {
return int(haiku.find_thread(nil))
}