summaryrefslogtreecommitdiffstats
path: root/mpi-patches/export-mp-eq
blob: e9ea7a49d38b4f05b7985dc40178b0b1d8c71f88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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... */