aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-05-15 01:08:17 +0000
committerYang Tse <yangsita@gmail.com>2009-05-15 01:08:17 +0000
commit3ae470eedfeec4abd47b1216bfbec00f1c56e9e4 (patch)
tree135bf2f531572ed6aff1108d8ba2f17a629825e5
parent6595592a710a7ac7c5dadffd92b1f0618969be0b (diff)
Fix preprocessor conditional expression
-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;