diff options
Diffstat (limited to 'mpi-patches/export-mp-eq')
-rw-r--r-- | mpi-patches/export-mp-eq | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/mpi-patches/export-mp-eq b/mpi-patches/export-mp-eq new file mode 100644 index 00000000..e9ea7a49 --- /dev/null +++ b/mpi-patches/export-mp-eq @@ -0,0 +1,34 @@ +Index: mpi-1.8.6/mpi.c +=================================================================== +--- mpi-1.8.6.orig/mpi.c 2011-12-09 13:56:19.000000000 -0800 ++++ mpi-1.8.6/mpi.c 2011-12-09 13:56:23.000000000 -0800 +@@ -86,14 +86,6 @@ + + /* }}} */ + +-/* {{{ Comparison constants */ +- +-#define MP_LT -1 +-#define MP_EQ 0 +-#define MP_GT 1 +- +-/* }}} */ +- + /* {{{ Constant strings */ + + /* Constant strings returned by mp_strerror() */ +Index: mpi-1.8.6/mpi.h +=================================================================== +--- mpi-1.8.6.orig/mpi.h 2011-12-09 13:56:19.000000000 -0800 ++++ mpi-1.8.6/mpi.h 2011-12-09 13:56:23.000000000 -0800 +@@ -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... */ |