Skip to content

Commit

Permalink
Merge pull request #1403 from jwillemsen/jwi-ACE_HAS_DINKUM_STL
Browse files Browse the repository at this point in the history
Cleanup usage of ACE_HAS_DINKUM_STL, not set anymore in any config file
  • Loading branch information
jwillemsen authored Jan 6, 2021
2 parents 1378f95 + 3146fe2 commit a5153ed
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 12 deletions.
4 changes: 1 addition & 3 deletions ACE/ace/OS_NS_stdio.inl
Original file line number Diff line number Diff line change
Expand Up @@ -1127,7 +1127,6 @@ ACE_OS::vsprintf (wchar_t *buffer, const wchar_t *format, va_list argptr)
{
# if (defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >= 500) || \
(defined (sun) && !(defined(_XOPEN_SOURCE) && (_XOPEN_VERSION-0==4))) || \
defined (ACE_HAS_DINKUM_STL) || \
defined (ACE_HAS_VSWPRINTF) || \
(defined (_MSC_VER) && !defined (ACE_HAS_WINCE))

Expand Down Expand Up @@ -1156,7 +1155,7 @@ ACE_OS::vsprintf (wchar_t *buffer, const wchar_t *format, va_list argptr)
ACE_UNUSED_ARG (argptr);
ACE_NOTSUP_RETURN (-1);

# endif /* XPG5 || ACE_HAS_DINKUM_STL */
# endif /* XPG5 */
}
#endif /* ACE_HAS_WCHAR */

Expand Down Expand Up @@ -1208,7 +1207,6 @@ ACE_OS::vsnprintf (wchar_t *buffer, size_t maxlen, const wchar_t *format, va_lis
{
# if (defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >= 500) || \
(defined (sun) && !(defined(_XOPEN_SOURCE) && (_XOPEN_VERSION-0==4))) || \
(defined (ACE_HAS_DINKUM_STL)) || \
defined (ACE_HAS_VSWPRINTF) || \
defined (ACE_WIN32)

Expand Down
1 change: 0 additions & 1 deletion ACE/ace/README
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ ACE_HAS_ALT_CUSERID Use ACE's alternate cuserid()
ACE_LACKS_PWD_FUNCTIONS to be
undefined and that the
geteuid() system call exists.
ACE_HAS_DINKUM_STL Using the Dinkum STL library
ACE_DEFAULT_THREAD_KEYS Number of TSS keys, with
ACE_HAS_TSS_EMULATION _only_.
Defaults to 64.
Expand Down
14 changes: 6 additions & 8 deletions ACE/ace/os_include/os_time.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,18 +38,16 @@
# include /**/ <time.h>
#endif /* !ACE_LACKS_TIME_H */

# if defined (ACE_USES_STD_NAMESPACE_FOR_STDC_LIB) && \
(ACE_USES_STD_NAMESPACE_FOR_STDC_LIB != 0)
#if defined (ACE_USES_STD_NAMESPACE_FOR_STDC_LIB) && \
(ACE_USES_STD_NAMESPACE_FOR_STDC_LIB != 0)
using std::tm;
# if !defined (ACE_HAS_DINKUM_STL)
# if defined (ACE_WIN32)
# if defined (ACE_WIN32)
using std::_timezone;
# else
# else
using std::timezone;
# endif
# endif
# endif /* ACE_WIN32 */
using std::difftime;
# endif /* ACE_USES_STD_NAMESPACE_FOR_STDC_LIB */
#endif /* ACE_USES_STD_NAMESPACE_FOR_STDC_LIB */

# if !defined (ACE_HAS_POSIX_TIME)
// Definition per POSIX.
Expand Down

0 comments on commit a5153ed

Please sign in to comment.