mirror of
https://github.com/NixOS/nix
synced 2025-06-27 12:41:15 +02:00
GC_malloc -> GC_MALLOC
This makes it possible to build with -DGC_DEBUG.
This commit is contained in:
parent
455d1f01d0
commit
c905d8b0a8
2 changed files with 3 additions and 9 deletions
|
@ -83,7 +83,7 @@ inline void * allocBytes(size_t n)
|
|||
{
|
||||
void * p;
|
||||
#if HAVE_BOEHMGC
|
||||
p = GC_malloc(n);
|
||||
p = GC_MALLOC(n);
|
||||
#else
|
||||
p = calloc(n, 1);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue