From 5413f3b3d622dab07f46171fd86b7654ab684f1c Mon Sep 17 00:00:00 2001 From: Johnny Willemsen Date: Fri, 27 Oct 2023 11:17:48 +0200 Subject: [PATCH] We don't need several defines anymore with QNX 7.1 * ACE/ace/config-qnx.h: --- ACE/ace/config-qnx.h | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/ACE/ace/config-qnx.h b/ACE/ace/config-qnx.h index fdcda8df5681d..d855c6124620d 100644 --- a/ACE/ace/config-qnx.h +++ b/ACE/ace/config-qnx.h @@ -13,8 +13,6 @@ # error "Could not detect QNX version from macro _NTO_VERSION" #endif -#define _POSIX_C_SOURCE 199506 - // The following defines the Neutrino compiler. // gcc should know to call g++ as necessary #ifdef __GNUC__ @@ -100,7 +98,6 @@ // // ACE_LACKS Section ///////////////////////////////////////////////////////////////// -//#define ACE_LACKS_CONST_TIMESPEC_PTR #define ACE_LACKS_LINEBUFFERED_STREAMBUF #define ACE_LACKS_MADVISE // Multicast_Tests reports for NTO 621 frames from unsubscribed groups @@ -131,6 +128,20 @@ # define ACE_HAS_XPG4_MULTIBYTE_CHAR 1 #endif +#if _NTO_VERSION < 710 +# define ACE_LACKS_CONST_TIMESPEC_PTR +# define ACE_LACKS_RWLOCK_T +# define ACE_LACKS_SO_SNDBUF +# define ACE_LACKS_SO_RCVBUF +# define ACE_LACKS_SYSCALL +# define ACE_LACKS_ITOW +# define ACE_LACKS_WCSICMP +# define ACE_LACKS_WCSNICMP +# define ACE_LACKS_WCSDUP +# define ACE_LACKS_STD_WSTRING + +#endif + #define ACE_LACKS_ISCTYPE #define ACE_LACKS_RLIMIT // QNX rlimit syscalls don't work properly with ACE.