summaryrefslogtreecommitdiffstats
path: root/mpi
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-04-22 19:54:13 -0700
committerKaz Kylheku <kaz@kylheku.com>2015-04-22 19:54:13 -0700
commitdb10bad508a85f1bbd86130210bbee93ff1b6f4c (patch)
tree81a0c40f74ce457252500f56e3efdc2f6ca70bfd /mpi
parent686fd1ee9baa6e5700ceeecf801acf62696e8228 (diff)
downloadtxr-db10bad508a85f1bbd86130210bbee93ff1b6f4c.tar.gz
txr-db10bad508a85f1bbd86130210bbee93ff1b6f4c.tar.bz2
txr-db10bad508a85f1bbd86130210bbee93ff1b6f4c.zip
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.
Diffstat (limited to 'mpi')
-rw-r--r--mpi/mpi.c8
-rw-r--r--mpi/mpi.h4
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... */