summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvishal <vishal@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-03-12 17:36:19 +0000
committervishal <vishal@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-03-12 17:36:19 +0000
commitb2b98fe284a45951a061b8db32e5687a58979aa5 (patch)
treed51a290fe151968961e85e22bf90fdc25bce19cb
parentac0b616c4022b8cccf8b31b7e0999bae80255b35 (diff)
downloadATCD-b2b98fe284a45951a061b8db32e5687a58979aa5.tar.gz
*** empty log message ***
-rw-r--r--ace/OS.i20
1 files changed, 20 insertions, 0 deletions
diff --git a/ace/OS.i b/ace/OS.i
index eb08ec98ea1..ec84f0ce2e0 100644
--- a/ace/OS.i
+++ b/ace/OS.i
@@ -7676,6 +7676,26 @@ ACE_OS::shm_open (const char *filename,
}
#endif /* ! ACE_HAS_MOSTLY_UNICODE_APIS */
+ACE_INLINE void
+ACE_OS::tzset (void)
+{
+# if defined (ACE_WIN32)
+ ::_tzset (); // For Win32.
+# else
+ ::tzset (); // For UNIX platforms.
+# endif
+}
+
+ACE_INLINE long
+ACE_OS::timezone (void)
+{
+#if defined (ACE_WIN32)
+ return ::_timezone; // For Win32.
+# else
+ return ::timezone; // For UNIX platforms.
+#endif
+}
+
#if !defined (ACE_LACKS_DIFFTIME)
ACE_INLINE double
ACE_OS::difftime (time_t t1, time_t t0)