[7297] Fixed profession spells sorting in trainer spell list at client.
[getmangos.git] / dep / ACE_wrappers / ace / config-win32-mingw.h
blobf4439865de2474cdee0f6a9f7062e651f5d7776f
1 // -*- C++ -*-
2 // $Id: config-win32-mingw.h 81693 2008-05-14 12:35:01Z johnnyw $
4 //
5 // The following configuration file is designed to work for win32
6 // platforms using gcc/g++ with mingw32 (http://www.mingw.org).
7 //
9 #ifndef ACE_CONFIG_WIN32_MINGW_H
10 #define ACE_CONFIG_WIN32_MINGW_H
11 #include /**/ "ace/pre.h"
13 #ifndef ACE_CONFIG_WIN32_H
14 # error Use config-win32.h in config.h instead of this header
15 #endif /* ACE_CONFIG_WIN32_H */
17 #define ACE_CC_NAME ACE_TEXT ("g++")
18 #define ACE_CC_PREPROCESSOR "cpp"
19 #define ACE_CC_PREPROCESOR_ARGS ""
21 // Why all this is not in config-g++-common.h?
22 #define ACE_CC_MAJOR_VERSION __GNUC__
23 #define ACE_CC_MINOR_VERSION __GNUC_MINOR__
24 #define ACE_CC_BETA_VERSION (0)
26 #if !defined(__MINGW32__)
27 # error You do not seem to be using mingw32
28 #endif
30 #include "ace/config-g++-common.h"
32 #include /**/ <_mingw.h>
33 #include /**/ <w32api.h>
35 #define ACE_HAS_USER_MODE_MASKS
37 #if (__MINGW32_MAJOR_VERSION < 2)
38 # error You need a newer version (>= 2.0) of mingw32/w32api
39 #endif
41 #if (__MINGW32_MAJOR_VERSION >= 3)
42 # define ACE_HAS_SSIZE_T
43 # undef ACE_LACKS_STRUCT_DIR
44 # undef ACE_LACKS_OPENDIR
45 # undef ACE_LACKS_CLOSEDIR
46 # undef ACE_LACKS_READDIR
47 # undef ACE_LACKS_TELLDIR
48 # undef ACE_LACKS_SEEKDIR
49 # undef ACE_LACKS_REWINDDIR
50 #else
51 # define ACE_LACKS_DIRENT_H
52 #endif
54 #undef ACE_LACKS_SIGSET
56 #define ACE_LACKS_SIGSET_DEFINITIONS
57 #define ACE_LACKS_SYS_SHM_H
58 #define ACE_LACKS_TERMIOS_H
59 #define ACE_LACKS_NETINET_TCP_H
60 #define ACE_LACKS_STRRECVFD
61 #define ACE_LACKS_STRPTIME
62 #define ACE_HAS_STRERROR
63 #define ACE_LACKS_POLL_H
64 #define ACE_LACKS_REGEX_H
65 #define ACE_LACKS_SYS_MSG_H
66 #define ACE_LACKS_PWD_H
67 #define ACE_LACKS_SEMAPHORE_H
68 #define ACE_LACKS_UCONTEXT_H
69 #define ACE_LACKS_SYS_SELECT_H
70 #define ACE_LACKS_SYS_RESOURCE_H
71 #define ACE_LACKS_SYS_WAIT_H
72 #define ACE_LACKS_DLFCN_H
73 #define ACE_LACKS_SYS_MMAN_H
74 #define ACE_LACKS_SYS_UIO_H
75 #define ACE_LACKS_SYS_SOCKET_H
76 #define ACE_LACKS_NETINET_IN_H
77 #define ACE_LACKS_NETDB_H
78 #define ACE_LACKS_NET_IF_H
79 #define ACE_LACKS_SYS_IPC_H
80 #define ACE_LACKS_SYS_SEM_H
81 #define ACE_LACKS_STROPTS_H
82 #define ACE_LACKS_SYS_IOCTL_H
83 #define ACE_LACKS_PDH_H
84 #define ACE_LACKS_PDHMSG_H
85 #define ACE_HAS_NONCONST_WCSDUP
86 #define ACE_HAS_WINSOCK2_GQOS
88 // We trust the user: He must have used -mpentiumpro or -mpentium
89 // if that is what he wants.
90 #if defined(pentiumpro) || defined(pentium)
91 # define ACE_HAS_PENTIUM
92 #endif
94 #define ACE_INT64_FORMAT_SPECIFIER ACE_TEXT ("%I64d")
95 #define ACE_UINT64_FORMAT_SPECIFIER ACE_TEXT ("%I64u")
97 #define ACE_ENDTHREADEX(STATUS) ::_endthreadex ((DWORD) (STATUS))
99 #include /**/ "ace/post.h"
100 #endif /* ACE_CONFIG_WIN32_MINGW_H */