1
0
Fork 0
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:
Eelco Dolstra 2018-06-12 16:16:03 +02:00
parent 455d1f01d0
commit c905d8b0a8
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
2 changed files with 3 additions and 9 deletions

View file

@ -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