summaryrefslogtreecommitdiff
path: root/ACE/ace/config-qnx-rtp.h
blob: ea4c3902b60283cdfcf050f5ba1659213d03b4b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// -*- C++ -*-
// $Id$
// The following configuration file is designed to work for QNX RTP
// GNU C++ and the POSIX (pthread) threads package. You can get QNX
// RTP at http://get.qnx.com.
// This header is intended to switch between configuration for
// various NTO versions.
#ifndef ACE_CONFIG_QNX_RTP_H
#define ACE_CONFIG_QNX_RTP_H
#include /**/ "ace/pre.h"

#include <sys/neutrino.h>
#if !defined(_NTO_VERSION)
#  error "Could not detect QNX version from macro _NTO_VERSION"
#else
#  define ACE_NTO_VERS _NTO_VERSION
#  if ACE_NTO_VERS < 620
#    include /**/ "ace/config-qnx-rtp-pre62x.h"
#  else
#    include /**/ "ace/config-qnx-rtp-62x.h"
#  endif
#endif

#include /**/ "ace/post.h"
#endif /* ACE_CONFIG_QNX_RTP_H */