On 17 Apr., 23:25, François Bissey <francois.bis...@canterbury.ac.nz> wrote: > They are essentially the same type. In sage-on-gentoo we actually did a small > patch to zn_poly because ulong is defined in both flint and zn_poly and it > gave > rise to problems. Essentially it boils to this: > -typedef unsigned long ulong; > +#ifndef ulong > +#define ulong unsigned long > +#endif
I changed the typedef in zn_poly.h to #undef ulong #define ulong unsigned long and then also had to fix the order of includes in profiler/profiler.c since otherwise the build breaks on Solaris; see attached (p8) diff at http://trac.sagemath.org/sage_trac/ticket/12433 (needs review...) -leif -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org