Commit 76bc87c9 authored by David Bremner's avatar David Bremner

enable mult-arithmetic lrslib

The MA macro (along with the GMP macro) enables the mapping of lrs_foo
to lrs_foo_gmp
parent 0c600661
......@@ -7,7 +7,7 @@
LIBNAME => 'lrsgmp',
SOURCEDIR => '${root}/bundled/lrs/external/lrs',
SOURCES => [ qw(lrslib.c lrsgmp.c) ],
CFLAGS => '-DGMP -DLRS_QUIET',
CFLAGS => '-DGMP -DMA -DLRS_QUIET',
} )
: ()
)
......@@ -20,6 +20,7 @@
#include "polymake/hash_set"
#include "polymake/ListMatrix.h"
#define MA
#define GMP
extern "C" {
#include <lrslib.h>
......@@ -32,6 +33,7 @@ extern "C" {
#undef copy
#undef sign
#undef GMP
#undef MA
namespace polymake { namespace polytope { namespace lrs_interface {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment