We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c5c6855 + ec47133 commit 68ba6ffCopy full SHA for 68ba6ff
src/libexpr-c/nix_api_expr.cc
@@ -16,8 +16,6 @@
16
17
#if HAVE_BOEHMGC
18
# include <mutex>
19
-# define GC_INCLUDE_NEW 1
20
-# include "gc_cpp.h"
21
#endif
22
23
nix_err nix_libexpr_init(nix_c_context * context)
src/libexpr/eval-gc.hh
@@ -23,7 +23,8 @@ template<typename T>
using gc_allocator = std::allocator<T>;
24
25
# define GC_MALLOC_ATOMIC std::malloc
26
-# define GC_STRDUP std::strdup
+# define GC_STRDUP strdup
27
+
28
struct gc
29
{};
30
0 commit comments