aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--acinclude.m42
-rw-r--r--ares/acinclude.m42
2 files changed, 2 insertions, 2 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 436adb605..790248b08 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -120,7 +120,7 @@ AC_DEFUN([CURL_CHECK_LIB_XNET], [
AC_LANG_SOURCE([[
int main (void)
{
-#if defined(__hpux) && defined(_XOPEN_SOURCE) && defined(_XOPEN_SOURCE >= 600)
+#if defined(__hpux) && defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 600)
return 0;
#elif defined(__hpux) && defined(_XOPEN_SOURCE_EXTENDED)
return 0;
diff --git a/ares/acinclude.m4 b/ares/acinclude.m4
index 6b02776f6..e9690a713 100644
--- a/ares/acinclude.m4
+++ b/ares/acinclude.m4
@@ -98,7 +98,7 @@ AC_DEFUN([CARES_CHECK_LIB_XNET], [
AC_LANG_SOURCE([[
int main (void)
{
-#if defined(__hpux) && defined(_XOPEN_SOURCE) && defined(_XOPEN_SOURCE >= 600)
+#if defined(__hpux) && defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 600)
return 0;
#elif defined(__hpux) && defined(_XOPEN_SOURCE_EXTENDED)
return 0;