[7297] Fixed profession spells sorting in trainer spell list at client.
[getmangos.git] / dep / ACE_wrappers / ace / config-qnx-rtp-common.h
blob410d94e4ee5a3f2f78a5de9f74bc1ef86802f52a
1 // -*- C++ -*-
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
10 #define _QNX_SOURCE
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__)
18 # if defined(__X86__)
19 // string.h can't be used by ACE with __OPTIMIZE__.
20 # undef __OPTIMIZE__
21 # include <string.h>
22 # define __OPTIMIZE__
23 # endif /* __X86__ */
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
30 #ifdef __GNUC__
31 # define ACE_CC_NAME ACE_TEXT ("gcc")
32 #else
33 # define ACE_CC_NAME ACE_TEXT ("QNX-RTP compiler ??")
34 #endif
36 // /usr/nto/include/float.h defines
37 // FLT_MAX_EXP 127
38 // DBL_MAX_EXP 1023
39 // ace expects 128 & 1024 respectively
40 // to set the following macros in ace/Basic_Types.h
41 // These macros are:
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 */