Minimally support compiling Odin on FreeBSD arm64
This is enough to get Odin itself compiling and the demo running.
This commit is contained in:
4 files changed
+19
-2
No files matched your search
@@ -3009,6 +3009,8 @@ gb_inline u32 gb_thread_current_id(void) {
|
||||
thread_id = gettid();
|
||||
#elif defined(GB_SYSTEM_HAIKU)
|
||||
thread_id = find_thread(NULL);
|
||||
#elif defined(GB_SYSTEM_FREEBSD)
|
||||
thread_id = pthread_getthreadid_np();
|
||||
#else
|
||||
#error Unsupported architecture for gb_thread_current_id()
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user