Skip to content

Commit adeb761

Browse files
committed
Add compat macro for gr_divnonunique in FLINT<3.1
1 parent bdba14e commit adeb761

File tree

1 file changed

+7
-1
lines changed
  • src/flint/flintlib/types

1 file changed

+7
-1
lines changed

src/flint/flintlib/types/gr.pxd

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,15 @@ from flint.flintlib.types.flint cimport (
88
cdef extern from *:
99
"""
1010
/*
11-
* The following functions were introduced in FLINT 3.2.0
11+
* The following functions were introduced in FLINT 3.1.0
1212
*/
13+
#if __FLINT_RELEASE < 30100
14+
#define gr_div_nonunique(res, x, y, ctx) GR_UNABLE
15+
#endif
1316
17+
/*
18+
* The following functions were introduced in FLINT 3.2.0
19+
*/
1420
#if __FLINT_RELEASE < 30200
1521
#define gr_min(res, x, y, ctx) GR_UNABLE
1622
#define gr_max(res, x, y, ctx) GR_UNABLE

0 commit comments

Comments
 (0)