From a8ea1c4c8f7c50107e668237508b8b62ee88ff86 Mon Sep 17 00:00:00 2001 From: Johnny Willemsen Date: Thu, 7 Sep 2023 14:27:17 +0200 Subject: [PATCH] Embarcadero C++ Builder changes * ACE/ace/config-win32-borland.h: --- ACE/ace/config-win32-borland.h | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/ACE/ace/config-win32-borland.h b/ACE/ace/config-win32-borland.h index 1ffc9968e9873..14e146cb59640 100644 --- a/ACE/ace/config-win32-borland.h +++ b/ACE/ace/config-win32-borland.h @@ -103,7 +103,11 @@ #define ACE_HAS_WREWINDDIR #define ACE_LACKS_STRRECVFD -#define ACE_USES_EXPLICIT_STD_NAMESPACE + +#if !defined (__MINGW64__) +# define ACE_USES_EXPLICIT_STD_NAMESPACE +# define ACE_LACKS_PID_T +#endif #if defined (ACE_HAS_BCC64) # define ACE_HAS_TIME_T_LONG_MISMATCH @@ -163,7 +167,20 @@ #define ACE_HAS_BUILTIN_BSWAP32 #define ACE_HAS_BUILTIN_BSWAP64 #define ACE_LACKS_INLINE_ASSEMBLY -#define ACE_LACKS_PID_T + +#if defined(__MINGW64__) +# define ACE_LACKS_PID_T +# define ACE_LACKS_GID_T +# undef ACE_LACKS_USECONDS_T +# define ACE_HAS_POSIX_TIME +# define ACE_LACKS_TIMESPEC_T +# define ACE_LACKS_UID_T +# define ACE_LACKS_GMTIME_R +# define ACE_LACKS_LOCALTIME_R +# define ACE_LACKS_NLINK_T +# define ACE_HAS_3_PARAM_WCSTOK +# define ACE_LACKS_STRPTIME +#endif #if __cplusplus >= 201103L # define ACE_HAS_CPP11