diff options
Diffstat (limited to 'src/libtools/threads32.c')
| -rwxr-xr-x | src/libtools/threads32.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libtools/threads32.c b/src/libtools/threads32.c index 32e81799..ac75e4c3 100755 --- a/src/libtools/threads32.c +++ b/src/libtools/threads32.c @@ -229,7 +229,7 @@ EXPORT int my32_pthread_create(x64emu_t *emu, void* t, void* attr, void* start_r et->join = 0; } #ifdef DYNAREC - if(box64_dynarec) { + if(BOX64ENV(dynarec)) { // pre-creation of the JIT code for the entry point of the thread DBGetBlock(emu, (uintptr_t)start_routine, 1, 1); } @@ -261,7 +261,7 @@ void* my32_prepare_thread(x64emu_t *emu, void* f, void* arg, int ssize, void** p et->fnc = (uintptr_t)f; et->arg = arg; #ifdef DYNAREC - if(box64_dynarec) { + if(BOX64ENV(dynarec)) { // pre-creation of the JIT code for the entry point of the thread dynablock_t *current = NULL; DBGetBlock(emu, (uintptr_t)f, 1, 1); |