summaryrefslogtreecommitdiffstats
path: root/mpi/mpi.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2019-09-12 20:35:46 -0700
committerKaz Kylheku <kaz@kylheku.com>2019-09-12 20:35:46 -0700
commit71d01ae185d95888e3908cce5dba99890e970931 (patch)
tree2620a90b0e1e20ccc3b55dba8b52d0e2173c6d41 /mpi/mpi.c
parent4edfb0c2b6a7b6e915cb6ce5083284e6502e5086 (diff)
downloadtxr-71d01ae185d95888e3908cce5dba99890e970931.tar.gz
txr-71d01ae185d95888e3908cce5dba99890e970931.tar.bz2
txr-71d01ae185d95888e3908cce5dba99890e970931.zip
All HAVE_* macros should be tested with #if, not #ifdef.
* configure: In several config tests, test HAVE_SUPERLONG_T, HAVE_LONGLONG_T and HAVE_SYS_WAIT with #if. * lib.c: Test HAVE_GETENVIRONMENTSTRINGS with #if. * lib.h: Test HAVE_DOUBLE_INTPTR_T with #if. * mpi/mpi.c: Likewise. * mpi/mpi.h: Likewise. * socket.c: Test HAVE_GETADDRINFO with #if in three places. * stream.c: Test HAVE_SYS_WAIT and HAVE_SOCKETS with #if.
Diffstat (limited to 'mpi/mpi.c')
-rw-r--r--mpi/mpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpi/mpi.c b/mpi/mpi.c
index 52525762..0e01fc26 100644
--- a/mpi/mpi.c
+++ b/mpi/mpi.c
@@ -493,7 +493,7 @@ int mp_in_uintptr_range(mp_int *mp)
return mp_in_range(mp, UINT_PTR_MAX, 1);
}
-#ifdef HAVE_DOUBLE_INTPTR_T
+#if HAVE_DOUBLE_INTPTR_T
mp_err mp_set_double_intptr(mp_int *mp, double_intptr_t z)
{