diff options
author | Johnny Willemsen <jwillemsen@users.noreply.github.com> | 2016-09-05 09:32:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-05 09:32:25 +0200 |
commit | 4309725bbebeb3fb6027766915fd2f6922f54eea (patch) | |
tree | d7a8805a0e60b125dbe1187a7effaab36bdbbcd3 /ACE/ace/OS_NS_time.inl | |
parent | e13ee56ffabd908059f5bc74c85d22370ea39412 (diff) | |
download | ATCD-4309725bbebeb3fb6027766915fd2f6922f54eea.tar.gz |
Revert "Handle system functions that may be defined as macros on some platforms"revert-262-master
Diffstat (limited to 'ACE/ace/OS_NS_time.inl')
-rw-r--r-- | ACE/ace/OS_NS_time.inl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ACE/ace/OS_NS_time.inl b/ACE/ace/OS_NS_time.inl index f066be30b60..c821530bc82 100644 --- a/ACE/ace/OS_NS_time.inl +++ b/ACE/ace/OS_NS_time.inl @@ -26,7 +26,7 @@ ACE_OS::asctime_r (const struct tm *t, char *buf, int buflen) #if defined (ACE_HAS_REENTRANT_FUNCTIONS) # if defined (ACE_HAS_2_PARAM_ASCTIME_R_AND_CTIME_R) char *result = 0; - ace_asctime_r_helper (t, buf); + ACE_OSCALL (::asctime_r (t, buf), char *, 0, result); ACE_OS::strsncpy (buf, result, buflen); return buf; # else @@ -375,7 +375,7 @@ ACE_OS::gmtime_r (const time_t *t, struct tm *res) { ACE_OS_TRACE ("ACE_OS::gmtime_r"); #if defined (ACE_HAS_REENTRANT_FUNCTIONS) - return ace_gmtime_r_helper (t, res); + ACE_OSCALL_RETURN (::gmtime_r (t, res), struct tm *, 0); #elif defined (ACE_HAS_TR24731_2005_CRT) struct tm *tm_p = res; ACE_SECURECRTCALL (gmtime_s (res, t), struct tm *, 0, tm_p); |