From e2ecea4d04e20c2a7ab414593f060836061ff5fc Mon Sep 17 00:00:00 2001 From: Richard Kreckel Date: Wed, 6 Aug 2003 19:53:05 +0000 Subject: [PATCH] * src/numtheory/cl_nt_sqrtmodp.cc: #undef _R. Reported by Andrew Rechnitzer . --- ChangeLog | 5 +++++ src/numtheory/cl_nt_sqrtmodp.cc | 3 +++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index d832787..06fd1f8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-08-06 Richard Kreckel + + * src/numtheory/cl_nt_sqrtmodp.cc: #undef _R. + Reported by Andrew Rechnitzer . + 2003-08-01 Richard Kreckel More dependent base resolution issues diff --git a/src/numtheory/cl_nt_sqrtmodp.cc b/src/numtheory/cl_nt_sqrtmodp.cc index 098c406..cf2556e 100644 --- a/src/numtheory/cl_nt_sqrtmodp.cc +++ b/src/numtheory/cl_nt_sqrtmodp.cc @@ -16,6 +16,9 @@ #include #define floor cln_floor +// MacOS X does "#define _R 0x00040000L". Grr... +#undef _R + namespace cln { // Algorithm 1 (for very small p only):