summaryrefslogtreecommitdiff
path: root/ACE/ace/OS_NS_time.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/OS_NS_time.h')
-rw-r--r--ACE/ace/OS_NS_time.h41
1 files changed, 0 insertions, 41 deletions
diff --git a/ACE/ace/OS_NS_time.h b/ACE/ace/OS_NS_time.h
index 4fddbdb1571..11d226ea28b 100644
--- a/ACE/ace/OS_NS_time.h
+++ b/ACE/ace/OS_NS_time.h
@@ -90,47 +90,6 @@ inline long ace_timezone()
#endif
}
-/*
- * We inline and undef some functions that may be implemented
- * as macros on some platforms. This way macro definitions will
- * be usable later as there is no way to save the macro definition
- * using the pre-processor.
- */
-#if !defined (ACE_LACKS_ASCTIME_R) && !defined (ACE_HAS_TR24731_2005_CRT)
-inline char *ace_asctime_r_helper (const struct tm *t, char *buf)
-{
-# if defined (asctime_r)
- return asctime_r (t, buf);
-# undef asctime_r
-# else
- return ACE_STD_NAMESPACE::asctime_r (t, buf);
-# endif /* asctime_r */
-}
-#endif /* !ACE_LACKS_ASCTIME_R && !ACE_HAS_TR24731_2005_CRT */
-
-#if !defined (ACE_LACKS_GMTIME_R) && !defined (ACE_HAS_TR24731_2005_CRT)
-inline struct tm *ace_gmtime_r_helper (const time_t *clock, struct tm *res)
-{
-# if defined (gmtime_r)
- return gmtime_r (clock, res);
-# undef gmtime_r
-# else
- return ACE_STD_NAMESPACE::gmtime_r (clock, res);
-# endif /* gmtime_r */
-}
-#endif /* !ACE_LACKS_GMTIME_R && !ACE_HAS_TR24731_2005_CRT */
-
-#if !defined (ACE_LACKS_LOCALTIME_R) && !defined (ACE_HAS_TR24731_2005_CRT)
-inline struct tm *ace_localtime_r_helper (const time_t *clock, struct tm *res)
-{
-# if defined (localtime_r)
- return localtime_r (clock, res);
-# undef localtime_r
-# else
- return ACE_STD_NAMESPACE::localtime_r (clock, res);
-# endif /* localtime_r */
-}
-#endif /* !ACE_LACKS_LOCALTIME_R && !ACE_HAS_TR24731_2005_CRT */
#if !defined (ACE_LACKS_DIFFTIME)
# if defined (_WIN32_WCE) && ((_WIN32_WCE >= 0x600) && (_WIN32_WCE <= 0x700)) && !defined (_USE_32BIT_TIME_T) \