[7297] Fixed profession spells sorting in trainer spell list at client.
[getmangos.git] / dep / ACE_wrappers / ace / config-win32-borland.h
blob2c05bc074a21b630d5815ec20aa3809f272097b5
1 // -*- C++ -*-
2 //$Id: config-win32-borland.h 82643 2008-08-19 14:02:12Z johnnyw $
4 // The following configuration file contains defines for Borland compilers.
6 #ifndef ACE_CONFIG_WIN32_BORLAND_H
7 #define ACE_CONFIG_WIN32_BORLAND_H
8 #include /**/ "ace/pre.h"
10 #ifndef ACE_CONFIG_WIN32_H
11 #error Use config-win32.h in config.h instead of this header
12 #endif /* ACE_CONFIG_WIN32_H */
14 #include "config-borland-common.h"
16 // Automatically define WIN32 macro if the compiler tells us it is our
17 // target platform.
18 # if defined (__WIN32__) && !defined (WIN32)
19 # define WIN32 1
20 # endif
22 // When building a VCL application, the main VCL header file should be
23 // included before anything else. You can define ACE_HAS_VCL=1 in your
24 // project settings to have this file included for you automatically.
25 # if defined (ACE_HAS_VCL) && (ACE_HAS_VCL != 0)
26 # include /**/ <vcl.h>
27 # endif
29 # define ACE_CC_PREPROCESSOR "CPP32.EXE"
31 # include "ace/config-win32-common.h"
33 // Borland on win32 has swab
34 # undef ACE_LACKS_SWAB
36 # define ACE_WSTRING_HAS_USHORT_SUPPORT 1
37 # define ACE_HAS_DIRENT
39 #ifdef ACE_USES_STD_NAMESPACE_FOR_STDC_LIB
40 #undef ACE_USES_STD_NAMESPACE_FOR_STDC_LIB
41 #define ACE_USES_STD_NAMESPACE_FOR_STDC_LIB 1
42 #endif
44 #define ACE_NEEDS_DL_UNDERSCORE
46 #define ACE_LACKS_TERMIOS_H
47 #define ACE_LACKS_NETINET_TCP_H
48 #define ACE_LACKS_REGEX_H
49 #define ACE_LACKS_SYS_MSG_H
50 #define ACE_LACKS_PWD_H
51 #define ACE_LACKS_POLL_H
52 #define ACE_LACKS_SYS_SHM_H
53 #define ACE_LACKS_STRINGS_H
54 #define ACE_LACKS_SEMAPHORE_H
55 #define ACE_LACKS_INTTYPES_H
56 #define ACE_LACKS_UCONTEXT_H
57 #define ACE_LACKS_SYS_SELECT_H
58 #define ACE_LACKS_SYS_TIME_H
59 #define ACE_LACKS_SYS_RESOURCE_H
60 #define ACE_LACKS_SYS_WAIT_H
61 #define ACE_LACKS_DLFCN_H
62 #define ACE_LACKS_SYS_MMAN_H
63 #define ACE_LACKS_SYS_UIO_H
64 #define ACE_LACKS_SYS_SOCKET_H
65 #define ACE_LACKS_NETINET_IN_H
66 #define ACE_LACKS_NETDB_H
67 #define ACE_LACKS_NET_IF_H
68 #define ACE_LACKS_SYS_IPC_H
69 #define ACE_LACKS_SYS_SEM_H
70 #define ACE_LACKS_SYS_IOCTL_H
71 #define ACE_LACKS_STROPTS_H
73 #undef ACE_LACKS_STRUCT_DIR
74 #undef ACE_LACKS_CLOSEDIR
75 #undef ACE_LACKS_OPENDIR
76 #undef ACE_LACKS_READDIR
77 #undef ACE_LACKS_REWINDDIR
79 #define ACE_HAS_WOPENDIR
80 #define ACE_HAS_WCLOSEDIR
81 #define ACE_HAS_WREADDIR
82 #define ACE_HAS_WREWINDDIR
84 #define ACE_LACKS_STRRECVFD
85 #define ACE_USES_EXPLICIT_STD_NAMESPACE
87 #if defined(ACE_MT_SAFE) && (ACE_MT_SAFE != 0)
88 // must have _MT defined to include multithreading
89 // features from win32 headers
90 # if !defined(__MT__)
91 // *** DO NOT *** defeat this error message by defining __MT__ yourself.
92 // You must link with the multi threaded libraries. Add -tWM to your
93 // compiler options
94 # error You must link against multi-threaded libraries when using ACE (check your project settings)
95 # endif /* !_MT && !ACE_HAS_WINCE */
96 #endif /* ACE_MT_SAFE && ACE_MT_SAFE != 0 */
98 #if (__BORLANDC__ < 0x580)
99 # define ACE_LACKS_INTPTR_T
100 # define ACE_HAS_NONCONST_SWAB
101 # define ACE_HAS_NONCONST_FDOPEN
102 #endif
104 #if (__BORLANDC__ < 0x610)
105 # define ACE_HAS_NONCONST_TEMPNAM
106 # define ACE_LACKS_STRTOULL
107 # define ACE_LACKS_WCSTOULL
108 #endif
110 #if (__BORLANDC__ <= 0x610)
111 // Older Borland compilers can't handle assembly in inline methods or
112 // templates (E2211). When we build for pentium optimized and we are inlining
113 // then we disable inline assembly
114 # if defined (ACE_HAS_PENTIUM) && defined(__ACE_INLINE__)
115 # define ACE_LACKS_INLINE_ASSEMBLY
116 # endif
117 #endif
119 #define ACE_WCSDUP_EQUIVALENT ::_wcsdup
120 #define ACE_STRCASECMP_EQUIVALENT ::stricmp
121 #define ACE_STRNCASECMP_EQUIVALENT ::strnicmp
122 #define ACE_HAS_ITOA 1
124 #include /**/ "ace/post.h"
125 #endif /* ACE_CONFIG_WIN32_BORLAND_H */