summaryrefslogtreecommitdiff
path: root/ACE/ace/config-qnx-rtp.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/config-qnx-rtp.h')
-rw-r--r--ACE/ace/config-qnx-rtp.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/ACE/ace/config-qnx-rtp.h b/ACE/ace/config-qnx-rtp.h
new file mode 100644
index 00000000000..513d6eb1b00
--- /dev/null
+++ b/ACE/ace/config-qnx-rtp.h
@@ -0,0 +1,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 */