Skip to content

Commit 43ec515

Browse files
authored
Prepare juliainterface for gap 4.15 (#1248)
1 parent a1b0462 commit 43ec515

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkg/JuliaInterface/src/JuliaInterface.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@
1616
#include "convert.h"
1717
#include "sync.h"
1818

19+
// With gap 4.15, the header julia_gc.h is available through gap_all.h.
20+
// To still support GAP 4.14, we include it conditionally.
21+
#ifndef GAP_JULIA_GC_H
1922
#include <julia_gc.h> // GAP header
23+
#endif
2024

2125
#include <julia_gcext.h> // Julia header
2226

0 commit comments

Comments
 (0)