diff options
author | Olli Savia <ops@iki.fi> | 2016-09-09 17:47:40 +0300 |
---|---|---|
committer | Olli Savia <ops@iki.fi> | 2016-09-09 17:47:40 +0300 |
commit | c982c07989a3286e0f91705f0583b1ffad2dcda0 (patch) | |
tree | d628705a8c361d1f2ac353cf700fb9fd9ed801ee /ACE/ace/OS_NS_time.inl | |
parent | 376300884df0d01977f37baac26040e6bcee8e25 (diff) | |
download | ATCD-c982c07989a3286e0f91705f0583b1ffad2dcda0.tar.gz |
Take 2: Handle system functions that may be defined as macros on some platforms
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 c821530bc82..f066be30b60 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_OSCALL (::asctime_r (t, buf), char *, 0, result); + ace_asctime_r_helper (t, buf); 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) - ACE_OSCALL_RETURN (::gmtime_r (t, res), struct tm *, 0); + return ace_gmtime_r_helper (t, res); #elif defined (ACE_HAS_TR24731_2005_CRT) struct tm *tm_p = res; ACE_SECURECRTCALL (gmtime_s (res, t), struct tm *, 0, tm_p); |