From 71d01ae185d95888e3908cce5dba99890e970931 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Thu, 12 Sep 2019 20:35:46 -0700 Subject: 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. --- mpi/mpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mpi/mpi.c') 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) { -- cgit v1.2.3