File tree Expand file tree Collapse file tree 4 files changed +2
-8
lines changed Expand file tree Collapse file tree 4 files changed +2
-8
lines changed Original file line number Diff line number Diff line change 1515# include < pthread_np.h>
1616# endif
1717
18- # include < gc/gc.h>
19- # include < gc/gc_cpp.h>
2018# include < gc/gc_allocator.h>
2119
2220# include < boost/coroutine2/coroutine.hpp>
Original file line number Diff line number Diff line change 33
44#include < cstddef>
55
6- // For `NIX_USE_BOEHMGC`, and if that's set, `GC_THREADS`
6+ // For `NIX_USE_BOEHMGC`
77#include " nix/expr/config.hh"
88
99#if NIX_USE_BOEHMGC
1010
1111# define GC_INCLUDE_NEW
12+ # define GC_THREADS 1
1213
1314# include < gc/gc.h>
1415# include < gc/gc_cpp.h>
Original file line number Diff line number Diff line change 66#include " nix/expr/eval-error.hh"
77#include " nix/expr/eval-settings.hh"
88
9- // For `NIX_USE_BOEHMGC`, and if that's set, `GC_THREADS`
10- #include " nix/expr/config.hh"
11-
129namespace nix {
1310
1411/* *
Original file line number Diff line number Diff line change @@ -60,8 +60,6 @@ if bdw_gc.found()
6060 define_value = cxx.has_function(funcspec).to_int()
6161 configdata_priv.set(define_name, define_value)
6262 endforeach
63- # Affects ABI, because it changes what bdw_gc itself does!
64- configdata_pub.set(' GC_THREADS' , 1 )
6563endif
6664# Used in public header. Affects ABI!
6765configdata_pub.set(' NIX_USE_BOEHMGC' , bdw_gc.found().to_int())
You can’t perform that action at this time.
0 commit comments