diff options
author | timcannell <timcannell@unity3d.com> | 2020-05-15 00:56:58 +0300 |
---|---|---|
committer | timcannell <timcannell@unity3d.com> | 2020-05-15 00:56:58 +0300 |
commit | f3b34f46b6860263905dbe83aeb7e1976cc1efce (patch) | |
tree | 48829623363ceb247c85488c15794f932d515cbb | |
parent | 297496b021f433ce3bc5264eda3c5ddc6ecce69a (diff) |
nda platform changes
-rw-r--r-- | extra/gc.c | 4 | ||||
-rw-r--r-- | include/gc_config_macros.h | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -70,8 +70,12 @@ #include "../darwin_stop_world.c" #include "../dyn_load.c" #include "../gc_dlopen.c" +#if !defined(PLATFORM_MACH_DEP) #include "../mach_dep.c" +#endif +#if !defined(PLATFORM_STOP_WORLD) #include "../pthread_stop_world.c" +#endif #include "../pthread_support.c" #include "../specific.c" #include "../win32_threads.c" diff --git a/include/gc_config_macros.h b/include/gc_config_macros.h index 448d1f64..668f69b0 100644 --- a/include/gc_config_macros.h +++ b/include/gc_config_macros.h @@ -93,7 +93,7 @@ # elif defined(__OpenBSD__) # define GC_OPENBSD_THREADS # elif ( defined(__DragonFly__) || defined(__FreeBSD_kernel__) \ - || defined(__FreeBSD__) ) && !defined(GC_NO_FREEBSD_THREADS) + || defined(__FreeBSD__) ) && !defined(GC_NO_FREEBSD) # define GC_FREEBSD_THREADS # elif defined(__NetBSD__) # define GC_NETBSD_THREADS |