Skip to content

Commit 9ee4b01

Browse files
committed
Add jansson to version hash table
1 parent 6bbc80e commit 9ee4b01

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

M2/Macaulay2/d/version.dd

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ header "
7171
#endif
7272

7373
#include <libxml/xmlversion.h>
74+
75+
#include <jansson.h>
7476
";
7577

7678
header "
@@ -190,6 +192,7 @@ setupconst("version", Expr(toHashTable(Sequence(
190192
"ntl version" => Ccode(constcharstar,"NTL_VERSION"),
191193
"frobby version" => Ccode(constcharstar,"frobby_version"),
192194
"flint version" => Ccode(constcharstar,"FLINT_VERSION"),
195+
"jansson version" => Ccode(constcharstar, "JANSSON_VERSION"),
193196
"scscp version" => Ccode(constcharstar,"
194197
#ifdef HAVE_SCSCP
195198
stringize(SCSCP_VERSION_MAJOR) \".\" stringize(SCSCP_VERSION_MINOR) \".\" stringize(SCSCP_VERSION_PATCH)

0 commit comments

Comments
 (0)