Skip to content

Commit df938cd

Browse files
committed
Add libxml2 to version hash table
1 parent 6358533 commit df938cd

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
@@ -69,6 +69,8 @@ header "
6969
#ifdef HAVE_FPLLL
7070
#include <fplll.h>
7171
#endif
72+
73+
#include <libxml/xmlversion.h>
7274
";
7375

7476
header "
@@ -173,6 +175,7 @@ setupconst("version", Expr(toHashTable(Sequence(
173175
\"not present\"
174176
#endif
175177
"),
178+
"libxml2 version" => Ccode(constcharstar, "LIBXML_DOTTED_VERSION"),
176179
"mpsolve version" => Ccode(constcharstar, "stringize(MPS_MAJOR_VERSION) \".\" stringize(MPS_MINOR_VERSION) \".\" stringize(MPS_PATCH_VERSION)" ),
177180
"python version" => Ccode(constcharstar,"
178181
#ifdef WITH_PYTHON

0 commit comments

Comments
 (0)