diff options
author | Josh Peterson <joshuap@unity3d.com> | 2019-11-14 22:50:57 +0300 |
---|---|---|
committer | Josh Peterson <joshuap@unity3d.com> | 2019-11-14 22:50:57 +0300 |
commit | 4c5cc3248975e36d7f1238444a7fdc022426743b (patch) | |
tree | 76ca770153d799818ee9bd8edd54661fa7aa8d27 | |
parent | 3e81213c802e1945eb6aaee87a4a44f4aa749b97 (diff) |
Fix the no-thread implementation of GC_reset_default_push_other_roots
-rw-r--r-- | os_dep.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -2791,7 +2791,11 @@ GC_API GC_push_other_roots_proc GC_CALL GC_get_push_other_roots(void) void GC_reset_default_push_other_roots(void) { +#ifdef THREADS GC_push_other_roots = GC_default_push_other_roots; +#else + GC_push_other_roots = 0; +#endif } /* |