summaryrefslogtreecommitdiff
path: root/ACE/ace/config-sunos5.7.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/config-sunos5.7.h')
-rw-r--r--ACE/ace/config-sunos5.7.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ACE/ace/config-sunos5.7.h b/ACE/ace/config-sunos5.7.h
index 239fba2d8c9..5e8b21a6469 100644
--- a/ACE/ace/config-sunos5.7.h
+++ b/ACE/ace/config-sunos5.7.h
@@ -69,6 +69,11 @@
// SunOS 5.7 has socklen_t
#define ACE_HAS_SOCKLEN_T
+// snprintf() is available at least from Solaris 7 on. If it can be determined
+// that it's also available in Solaris 2.6, this can be moved into
+// config-sunos5.6.h.
+#define ACE_HAS_SNPRINTF
+
#if defined (__sparcv9)
#define _LP64
#define ACE_SIZEOF_LONG 8 /* Needed to circumvent compiler bug #4294969 */