GBA Thread: Fix _reloadDirectories being exported improperly
Jeffrey Pfau jeffrey@endrift.com
Sat, 02 Jan 2016 23:16:04 -0800
1 files changed,
3 insertions(+),
2 deletions(-)
jump to
M
src/gba/supervisor/thread.c
→
src/gba/supervisor/thread.c
@@ -24,7 +24,9 @@ #include <signal.h>
static const float _defaultFPSTarget = 60.f; -bool _reloadDirectories(struct GBAThread* threadContext) { +#ifndef DISABLE_THREADING + +static bool _reloadDirectories(struct GBAThread* threadContext) { GBADirectorySetDetachBase(&threadContext->dirs); char basename[PATH_MAX];@@ -55,7 +57,6 @@ }
return true; } -#ifndef DISABLE_THREADING #ifdef USE_PTHREADS static pthread_key_t _contextKey; static pthread_once_t _contextOnce = PTHREAD_ONCE_INIT;