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

Commit

Permalink
workaround the naming conflict for IntegerDomain between Singular and…
Browse files Browse the repository at this point in the history
… Givaro
  • Loading branch information
ClementPernet committed Jan 5, 2022
1 parent 065177a commit 4006e10
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/sage/libs/singular/decl.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,14 @@ AUTHOR:
#*****************************************************************************
from sage.libs.gmp.types cimport mpz_t, mpz_ptr

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

cdef extern from "factory/factory.h":

#
Expand Down

0 comments on commit 4006e10

Please sign in to comment.