summaryrefslogtreecommitdiff
path: root/ace/OS.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/OS.h')
-rw-r--r--ace/OS.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ace/OS.h b/ace/OS.h
index 38be3429b10..e7a4dc7f95e 100644
--- a/ace/OS.h
+++ b/ace/OS.h
@@ -1170,6 +1170,12 @@ extern "C" pthread_t pthread_self (void);
# endif /* VXWORKS */
# endif /* ACE_LACKS_SYSTIME_H */
+# if defined (ACE_USES_STD_NAMESPACE_FOR_STDC_LIB) && \
+ (ACE_USES_STD_NAMESPACE_FOR_STDC_LIB != 0)
+using std::time_t;
+using std::tm;
+# endif /* ACE_USES_STD_NAMESPACE_FOR_STDC_LIB */
+
# if !defined (ACE_HAS_POSIX_TIME) && !defined (ACE_PSOS)
// Definition per POSIX.
typedef struct timespec