wingo pushed a commit to branch wip-whippet
in repository guile.

commit e59fde2edf58e8421a1267b9a937b429817f9761
Author: Andy Wingo <wi...@igalia.com>
AuthorDate: Fri May 16 22:00:02 2025 +0200

    Fix build issue with mmc in Guile
    
    For some reason we need to include gc-api with GC_IMPL already defined,
    otherwise the attrs don't get picked up.
---
 src/mmc.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/mmc.c b/src/mmc.c
index b6b83396b..02f51c776 100644
--- a/src/mmc.c
+++ b/src/mmc.c
@@ -4,9 +4,10 @@
 #include <stdio.h>
 #include <string.h>
 
+#define GC_IMPL 1
+
 #include "gc-api.h"
 
-#define GC_IMPL 1
 #include "gc-internal.h"
 
 #include "background-thread.h"

Reply via email to