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. --- lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib.c') diff --git a/lib.c b/lib.c index 90137512..debd353f 100644 --- a/lib.c +++ b/lib.c @@ -41,7 +41,7 @@ #include #include "config.h" #include "alloca.h" -#ifdef HAVE_GETENVIRONMENTSTRINGS +#if HAVE_GETENVIRONMENTSTRINGS #define NOMINMAX #include #endif -- cgit v1.2.3