2 // $Id: config-qnx-rtp-common.h 80826 2008-03-04 14:51:23Z wotte $
3 // several macros common to various qnx neutrino version.
5 #ifndef ACE_CONFIG_QNX_RTP_COMMON_H
6 #define ACE_CONFIG_QNX_RTP_COMMON_H
7 #include /**/ "ace/pre.h"
9 #define _POSIX_C_SOURCE 199506
12 // These constants are in i386-nto/include/limits.h, but egcs
13 // picks up its own limits.h instead:
14 #define _POSIX_NAME_MAX 14 /* Max bytes in a filename */
15 #define _POSIX_PATH_MAX 256 /* Num. bytes in pathname (excl. NULL) */
17 #if defined(__OPTIMIZE__)
19 // string.h can't be used by ACE with __OPTIMIZE__.
24 #endif /* __OPTIMIZE__ */
26 #include "ace/config-g++-common.h"
28 // The following defines the Neutrino compiler.
29 // gcc should know to call g++ as necessary
31 # define ACE_CC_NAME ACE_TEXT ("gcc")
33 # define ACE_CC_NAME ACE_TEXT ("QNX-RTP compiler ??")
36 // /usr/nto/include/float.h defines
39 // ace expects 128 & 1024 respectively
40 // to set the following macros in ace/Basic_Types.h
42 #define ACE_SIZEOF_DOUBLE 8
43 #define ACE_SIZEOF_FLOAT 4
45 #include /**/ "ace/post.h"
46 #endif /* ACE_CONFIG_QNX_RTP_COMMON_H */