--- gsoap-2.8/gsoap/stdsoap2.h 2019-04-18 22:09:34.000000000 +0000 +++ gsoap-2.8/gsoap/stdsoap2.h.new 2019-04-24 22:58:49.520176598 +0000 @@ -1395,7 +1395,9 @@ extern "C" { #endif #ifdef SUN_OS -# define HAVE_ISNAN +# ifndef HAVE_ISNAN +# define HAVE_ISNAN +# endif #endif #ifdef __APPLE__