[QNX] Which macro to identify QNX operating system?

8 Apr
2011
8 Apr
'11
11:29 a.m.
Does anyone with QNX experience know if __QNX__ or __QNXNTO__ is preferred? Both are used in Boost code. Does it matter? Are the impacts the same for both GCC and Intel compilers? Are any other compilers used on that platform? For example, Watcom? --Beman

8 Apr
8 Apr
8:10 p.m.
On Fri, Apr 8, 2011 at 7:29 AM, Beman Dawes <bdawes@acm.org> wrote:
Does anyone with QNX experience know if __QNX__ or __QNXNTO__ is preferred?
Both are used in Boost code. Does it matter?
After more googling, I found this on the QNX web site: __QNX__ The target is a QNX operating system (QNX 4 or QNX Neutrino). __QNXNTO__ The target is the QNX Neutrino operating system. So it looks like __QNX__ casts a wider net than __QNXNTO__ --Beman
5201
Age (days ago)
5201
Last active (days ago)
1 comments
1 participants
participants (1)
-
Beman Dawes