Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Unity-Technologies/bdwgc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortimcannell <timcannell@unity3d.com>2020-05-15 00:56:58 +0300
committertimcannell <timcannell@unity3d.com>2020-05-15 00:56:58 +0300
commitf3b34f46b6860263905dbe83aeb7e1976cc1efce (patch)
tree48829623363ceb247c85488c15794f932d515cbb
parent297496b021f433ce3bc5264eda3c5ddc6ecce69a (diff)
nda platform changes
-rw-r--r--extra/gc.c4
-rw-r--r--include/gc_config_macros.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/extra/gc.c b/extra/gc.c
index 9a394dca..4eeaf1ea 100644
--- a/extra/gc.c
+++ b/extra/gc.c
@@ -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