aboutsummaryrefslogtreecommitdiff
path: root/src/misc
diff options
context:
space:
mode:
authorJ08nY2022-12-07 14:46:04 +0100
committerJ08nY2022-12-07 14:46:04 +0100
commit651fc7ffe96ecf81418bedadcf38039cc8e06292 (patch)
tree01ef5efd2ff773c132b7397b596ba03ea4db4d0d /src/misc
parentf1c8102e4e27ca3dc89b340e6a65b30e73c77d4a (diff)
downloadecgen-651fc7ffe96ecf81418bedadcf38039cc8e06292.tar.gz
ecgen-651fc7ffe96ecf81418bedadcf38039cc8e06292.tar.zst
ecgen-651fc7ffe96ecf81418bedadcf38039cc8e06292.zip
Fix #17.
Diffstat (limited to 'src/misc')
-rw-r--r--src/misc/compat.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/misc/compat.h b/src/misc/compat.h
index ba4a107..7e3d4e8 100644
--- a/src/misc/compat.h
+++ b/src/misc/compat.h
@@ -18,10 +18,12 @@
#define PARI_VERSION_LT(a,b,c) !(PARI_VERSION_GE(a,b,c))
#define PARI_VERSION_LE(a,b,c) !(PARI_VERSION_GT(a,b,c))
-
#if PARI_VERSION_LT(2,12,1)
#define polisirreducible isirreducible
#endif
+#if PARI_VERSION_LT(2,15,0)
+#define znorder(x, o) order(x);
+#endif
#endif // ECGEN_MISC_COMPAT_H