Skip to content

Commit

Permalink
We don't need several defines anymore with QNX 7.1
Browse files Browse the repository at this point in the history
    * ACE/ace/config-qnx.h:
  • Loading branch information
jwillemsen committed Oct 27, 2023
1 parent 19972d2 commit 5413f3b
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions ACE/ace/config-qnx.h
Original file line number Diff line number Diff line change
Expand Up @@ -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__
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 5413f3b

Please sign in to comment.