From db10bad508a85f1bbd86130210bbee93ff1b6f4c Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Wed, 22 Apr 2015 19:54:13 -0700 Subject: export-mp-eq patch * mpi/mpi.c (MP_LT, MP_EQ, MP_GT): Preprocessor symbols removed. * mpi/mpi.h (MP_LT, MP_EQ, MP_GT): Preprocessor symbols added. --- mpi/mpi.c | 8 -------- mpi/mpi.h | 4 ++++ 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/mpi/mpi.c b/mpi/mpi.c index c36ef8ba..26334854 100644 --- a/mpi/mpi.c +++ b/mpi/mpi.c @@ -84,14 +84,6 @@ static unsigned int s_mp_defprec = MP_DEFPREC; /* }}} */ -/* {{{ Comparison constants */ - -#define MP_LT -1 -#define MP_EQ 0 -#define MP_GT 1 - -/* }}} */ - /* {{{ Constant strings */ /* Constant strings returned by mp_strerror() */ diff --git a/mpi/mpi.h b/mpi/mpi.h index c653672e..c32b0d3a 100644 --- a/mpi/mpi.h +++ b/mpi/mpi.h @@ -42,6 +42,10 @@ #define MP_UNDEF -5 /* answer is undefined */ #define MP_LAST_CODE MP_UNDEF +#define MP_LT -1 +#define MP_EQ 0 +#define MP_GT 1 + #include "mpi-types.h" /* Included for compatibility... */ -- cgit v1.2.3