summaryrefslogtreecommitdiff
path: root/ace/config-sunos5.7.h
diff options
context:
space:
mode:
authorbala <balanatarajan@users.noreply.github.com>2001-06-30 03:33:30 +0000
committerbala <balanatarajan@users.noreply.github.com>2001-06-30 03:33:30 +0000
commit98bf79199fa14aaee25f49066b752c1eafbe0483 (patch)
tree10102aba080ba656db48dd8597b45aa3d4b1ecb0 /ace/config-sunos5.7.h
parent2d1c63f7f0d75e0ec73a1eb43160a58b16bda9bd (diff)
downloadATCD-98bf79199fa14aaee25f49066b752c1eafbe0483.tar.gz
ChangeLogTag: Fri Jun 29 22:31:56 2001 Balachandran Natarajan <bala@cs.wustl.edu>
Diffstat (limited to 'ace/config-sunos5.7.h')
-rw-r--r--ace/config-sunos5.7.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/ace/config-sunos5.7.h b/ace/config-sunos5.7.h
index 9fb6f36481f..42d88066760 100644
--- a/ace/config-sunos5.7.h
+++ b/ace/config-sunos5.7.h
@@ -25,6 +25,13 @@
typedef long t_scalar_t; /* historical versions */
typedef unsigned long t_uscalar_t;
typedef void *timeout_id_t;
+
+# elif __GNUC__ >= 3 && __GNUC_MINOR__ >= 0
+# define ACE_HAS_SOCKLEN_T
+# define ACE_HAS_POSIX_GETPWNAM_R
+# define ACE_HAS_2_PARAM_ASCTIME_R_AND_CTIME_R
+# define ACE_HAS_4_4BSD_SENDMSG_RECVMSG
+
# endif /* __GNUC__ <= 2 && __GNUC_MINOR__ < 8 */
#elif defined (ghs)
@@ -48,7 +55,7 @@ typedef unsigned long long uint64_t;
// performance-tests/Misc/preempt.
#undef ACE_NEEDS_LWP_PRIO_SET
-// SunOS 5.7 can support Real-Time Signals and POSIX4 AIO operations
+// SunOS 2.7 can support Real-Time Signals and POSIX4 AIO operations
// are supported.
#if !defined (ACE_HAS_AIO_CALLS)
@@ -66,9 +73,6 @@ typedef unsigned long long uint64_t;
#undef ACE_HAS_LIMITED_SELECT
#endif /* ACE_HAS_LIMITED_SELECT */
-// SunOS 5.7 has socklen_t
-#define ACE_HAS_SOCKLEN_T
-
#if defined (__sparcv9)
#define ERRMAX 256 /* Needed for following define */
#define ACE_LACKS_SYS_NERR