Merge pull request #7585 from kwyxz/master

Temporary fix until Haiku implements the optional POSIX functions
This commit is contained in:
Twinaphex 2018-11-12 23:10:05 +01:00 committed by GitHub
commit 94a4574a7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -166,7 +166,7 @@ sthread_t *sthread_create(void (*thread_func)(void*), void *userdata)
}
/* TODO/FIXME - this needs to be implemented for Switch/3DS */
#if !defined(SWITCH) && !defined(USE_WIN32_THREADS) && !defined(_3DS) && !defined(GEKKO)
#if !defined(SWITCH) && !defined(USE_WIN32_THREADS) && !defined(_3DS) && !defined(GEKKO) && !defined(__HAIKU__)
#define HAVE_THREAD_ATTR
#endif