Issue #5724: Fix cmath failures on Solaris 10.
diff --git a/PC/pyconfig.h b/PC/pyconfig.h
index 112c83b..b81f883 100644
--- a/PC/pyconfig.h
+++ b/PC/pyconfig.h
@@ -405,11 +405,11 @@
 /* Define to 1 if you have the `copysign' function. */
 #define HAVE_COPYSIGN 1
 
-/* Define to 1 if you have the `isinf' function. */
-#define HAVE_ISINF 1
+/* Define to 1 if you have the `isinf' macro. */
+#define HAVE_DECL_ISINF 1
 
 /* Define to 1 if you have the `isnan' function. */
-#define HAVE_ISNAN 1
+#define HAVE_DECL_ISNAN 1
 
 /* Define if on AIX 3.
    System headers sometimes define this.