diff options
author | maximius <none@none> | 2009-10-17 15:51:44 -0700 |
---|---|---|
committer | maximius <none@none> | 2009-10-17 15:51:44 -0700 |
commit | e585187b248f48b3c6e9247b49fa07c6565d65e5 (patch) | |
tree | 637c5b7ddacf41040bef4ea4f75a97da64c6a9bc /dep/ACE_wrappers/ace/config-qnx-rtp-common.h | |
parent | 26b5e033ffde3d161382fc9addbfa99738379641 (diff) |
*Backed out changeset 3be01fb200a5
--HG--
branch : trunk
Diffstat (limited to 'dep/ACE_wrappers/ace/config-qnx-rtp-common.h')
-rw-r--r-- | dep/ACE_wrappers/ace/config-qnx-rtp-common.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/dep/ACE_wrappers/ace/config-qnx-rtp-common.h b/dep/ACE_wrappers/ace/config-qnx-rtp-common.h index 7ed1a01a249..ee832adf604 100644 --- a/dep/ACE_wrappers/ace/config-qnx-rtp-common.h +++ b/dep/ACE_wrappers/ace/config-qnx-rtp-common.h @@ -1,15 +1,19 @@ // -*- C++ -*- // $Id: config-qnx-rtp-common.h 80826 2008-03-04 14:51:23Z wotte $ // several macros common to various qnx neutrino version. + #ifndef ACE_CONFIG_QNX_RTP_COMMON_H #define ACE_CONFIG_QNX_RTP_COMMON_H #include /**/ "ace/pre.h" + #define _POSIX_C_SOURCE 199506 #define _QNX_SOURCE + // These constants are in i386-nto/include/limits.h, but egcs // picks up its own limits.h instead: #define _POSIX_NAME_MAX 14 /* Max bytes in a filename */ #define _POSIX_PATH_MAX 256 /* Num. bytes in pathname (excl. NULL) */ + #if defined(__OPTIMIZE__) # if defined(__X86__) // string.h can't be used by ACE with __OPTIMIZE__. @@ -18,7 +22,9 @@ # define __OPTIMIZE__ # endif /* __X86__ */ #endif /* __OPTIMIZE__ */ + #include "ace/config-g++-common.h" + // The following defines the Neutrino compiler. // gcc should know to call g++ as necessary #ifdef __GNUC__ @@ -26,6 +32,7 @@ #else # define ACE_CC_NAME ACE_TEXT ("QNX-RTP compiler ??") #endif + // /usr/nto/include/float.h defines // FLT_MAX_EXP 127 // DBL_MAX_EXP 1023 @@ -34,6 +41,7 @@ // These macros are: #define ACE_SIZEOF_DOUBLE 8 #define ACE_SIZEOF_FLOAT 4 + #include /**/ "ace/post.h" #endif /* ACE_CONFIG_QNX_RTP_COMMON_H */ |