summaryrefslogtreecommitdiff
path: root/ace
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-02-03 03:23:19 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-02-03 03:23:19 +0000
commit034c1b8e866e6abd65c102900731d1ce9d38e7b2 (patch)
treec41ca61f020df6f8a0d6e032c1c3d056b33ca15f /ace
parent369bbba125352af2adc4e1b0207a03bdb356e732 (diff)
downloadATCD-034c1b8e866e6abd65c102900731d1ce9d38e7b2.tar.gz
moved hrtime_t def
Diffstat (limited to 'ace')
-rw-r--r--ace/OS.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/ace/OS.h b/ace/OS.h
index 91f5557c4d9..ad23a84805f 100644
--- a/ace/OS.h
+++ b/ace/OS.h
@@ -1210,14 +1210,6 @@ typedef unsigned int *ACE_RANDR_TYPE;
struct msghdr {};
#endif /* ACE_HAS_MSG */
-#if !defined (ACE_WIN32)
-#if defined (ACE_HAS_AIX_HIRES_TIMER)
-typedef long long hrtime_t;
-#elif !defined (ACE_HAS_HI_RES_TIMER)
-typedef long hrtime_t;
-#endif /* ACE_HAS_HI_RES_TIMER */
-#endif /* !ACE_WIN32 */
-
#if !defined (ACE_HAS_SIG_ATOMIC_T)
typedef int sig_atomic_t;
#endif /* !ACE_HAS_SIG_ATOMIC_T */
@@ -1859,6 +1851,15 @@ typedef long ACE_id_t;
typedef short ACE_pri_t;
#endif /* ACE_HAS_STHREADS */
+#if !defined (ACE_HAS_HI_RES_TIMER)
+#if defined (ACE_HAS_LONGLONG_T)
+typedef long long hrtime_t;
+#else
+typedef long hrtime_t;
+#endif /* ACE_HAS_LONGLONG_T */
+/* hrtime_t is defined on systems (Suns) with ACE_HAS_HI_RES_TIMER */
+#endif /* ! ACE_HAS_HI_RES_TIMER */
+
#endif /* ACE_WIN32 */
#if defined (VXWORKS)