mirror of
https://github.com/NixOS/nix
synced 2025-07-05 12:21:48 +02:00
Fix build without GC
This commit is contained in:
parent
c5c68558b5
commit
088569463b
1 changed files with 2 additions and 1 deletions
|
@ -23,7 +23,8 @@ template<typename T>
|
||||||
using gc_allocator = std::allocator<T>;
|
using gc_allocator = std::allocator<T>;
|
||||||
|
|
||||||
# define GC_MALLOC_ATOMIC std::malloc
|
# define GC_MALLOC_ATOMIC std::malloc
|
||||||
# define GC_STRDUP std::strdup
|
# define GC_STRDUP strdup
|
||||||
|
|
||||||
struct gc
|
struct gc
|
||||||
{};
|
{};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue