Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit 4006e10

Browse files
committed
workaround the naming conflict for IntegerDomain between Singular and Givaro
1 parent 065177a commit 4006e10

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/sage/libs/singular/decl.pxd

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,14 @@ AUTHOR:
3030
#*****************************************************************************
3131
from sage.libs.gmp.types cimport mpz_t, mpz_ptr
3232

33+
# Singular defines in factory/factory.h the macro IntegerDomain which conflicts
34+
# with the type Givaro::Integerdomain (See #32959). The conflict has been fixed
35+
# upstream but until it is made available in every distribution, we need to
36+
# handle the conflict here, by forcing the include of givinteger.h before that
37+
# of factory.h
38+
cdef extern from "givaro/givinteger.h":
39+
pass
40+
3341
cdef extern from "factory/factory.h":
3442

3543
#

0 commit comments

Comments
 (0)