summaryrefslogtreecommitdiff
path: root/ace/config-posix.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/config-posix.h')
-rw-r--r--ace/config-posix.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ace/config-posix.h b/ace/config-posix.h
index fdf6a7b2fd7..a103215dcb6 100644
--- a/ace/config-posix.h
+++ b/ace/config-posix.h
@@ -68,7 +68,7 @@
# endif /* ACE_HAS_POSIX_MESSAGE_PASSING */
#endif /* _POSIX_MESSAGE_PASSING */
-#if defined (_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 500)
+#if (defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >= 500)
# define ACE_HAS_SNPRINTF
#endif /* _XOPEN_SOURCE */