From 6c54f0ef9f09375a110eb4fac37b034177454034 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Mon, 24 Feb 2003 11:17:25 +0000 Subject: [PATCH] Tweak for MacOS X. --- ChangeLog | 3 ++- src/modinteger/cl_MI.cc | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ec0d901..904cb20 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,8 @@ -2003-02-21 Bruno Haible +2003-02-24 Bruno Haible * src/base/random/cl_random_from.cc (random_state::random_state): Add support for MacOS X. + * src/modinteger/cl_MI.cc: #undef _R. Reported by Erann Gat . 2002-08-03 Joerg Arndt diff --git a/src/modinteger/cl_MI.cc b/src/modinteger/cl_MI.cc index 3aae64d..6be4179 100644 --- a/src/modinteger/cl_MI.cc +++ b/src/modinteger/cl_MI.cc @@ -21,6 +21,10 @@ CL_PROVIDE(cl_MI) #include "cln/abort.h" #include "cl_alloca.h" +# MacOS X does "#define _R 0x00040000L" +# Grr... +#undef _R + namespace cln { cl_heap_modint_ring::cl_heap_modint_ring (cl_I m, cl_modint_setops* setopv, cl_modint_addops* addopv, cl_modint_mulops* mulopv)