Changes to attempt to silence bcc64x
[ACE_TAO.git] / ACE / ace / config-win32-mingw.h
blob767feb993fce6a84a7e5db4d845ea20883058c79
1 // -*- C++ -*-
2 //
3 // The following configuration file is designed to work for win32
4 // platforms using gcc/g++ with mingw32 (http://www.mingw.org).
5 //
7 #ifndef ACE_CONFIG_WIN32_MINGW_H
8 #define ACE_CONFIG_WIN32_MINGW_H
9 #include /**/ "ace/pre.h"
11 #ifndef ACE_CONFIG_WIN32_H
12 # error Use config-win32.h in config.h instead of this header
13 #endif /* ACE_CONFIG_WIN32_H */
15 #define ACE_CC_PREPROCESSOR "cpp"
16 #define ACE_CC_PREPROCESOR_ARGS ""
18 #if !defined(__MINGW32__)
19 # error You do not seem to be using mingw32
20 #endif
22 #include "ace/config-g++-common.h"
24 #include /**/ <_mingw.h>
25 #include /**/ <w32api.h>
27 #define ACE_HAS_USER_MODE_MASKS
29 #if (__MINGW32_MAJOR_VERSION < 3)
30 # error You need a newer version (>= 3.0) of mingw32/w32api
31 #endif
33 // In strict ANSI mode (default when using --std=c++0x) the fileno()
34 // macro is not defined so use the following work around.
35 #if defined(__STRICT_ANSI__)
36 # define ACE_FILENO_EQUIVALENT ::_fileno
37 #endif
39 #define ACE_HAS_SSIZE_T
40 #undef ACE_LACKS_TELLDIR
41 #undef ACE_LACKS_SEEKDIR
42 #undef ACE_LACKS_REWINDDIR
44 #if (__MINGW32_MAJOR_VERSION > 3) || ((__MINGW32_MAJOR_VERSION == 3) && (__MINGW32_MINOR_VERSION >= 15))
45 # undef ACE_LACKS_USECONDS_T
46 # if defined (ACE_LACKS_SIGSET_T)
47 # undef ACE_LACKS_SIGSET_T
48 # endif
49 #endif
51 #undef ACE_HAS_WTOF
53 #define ACE_LACKS_SYS_SHM_H
54 #define ACE_LACKS_TERMIOS_H
55 #define ACE_LACKS_NETINET_TCP_H
56 #define ACE_LACKS_STRRECVFD
57 #define ACE_LACKS_STRPTIME
58 #define ACE_LACKS_POLL_H
59 #define ACE_LACKS_REGEX_H
60 #define ACE_LACKS_SYS_MSG_H
61 #define ACE_LACKS_PWD_H
62 #define ACE_LACKS_SEMAPHORE_H
63 #define ACE_LACKS_UCONTEXT_H
64 #define ACE_LACKS_SYS_SELECT_H
65 #define ACE_LACKS_SYS_RESOURCE_H
66 #define ACE_LACKS_SYS_WAIT_H
67 #define ACE_LACKS_DLFCN_H
68 #define ACE_LACKS_SYS_MMAN_H
69 #define ACE_LACKS_SYS_UIO_H
70 #define ACE_LACKS_SYS_SOCKET_H
71 #define ACE_LACKS_NETINET_IN_H
72 #define ACE_LACKS_NETDB_H
73 #define ACE_LACKS_NET_IF_H
74 #define ACE_LACKS_SYS_IPC_H
75 #define ACE_LACKS_SYS_SEM_H
76 #define ACE_LACKS_STROPTS_H
77 #define ACE_LACKS_SYS_IOCTL_H
78 #define ACE_LACKS_PDH_H
79 #define ACE_LACKS_PDHMSG_H
80 #define ACE_LACKS_STRTOK_R
81 #define ACE_LACKS_LOCALTIME_R
82 #define ACE_LACKS_GMTIME_R
83 #define ACE_LACKS_ASCTIME_R
84 #define ACE_HAS_NONCONST_WCSDUP
85 #define ACE_HAS_WINSOCK2_GQOS
86 #define ACE_ISCTYPE_EQUIVALENT ::_isctype
87 #define ACE_LACKS_SET_ABORT_BEHAVIOR
88 #define ACE_LACKS_NLINK_T
89 #define ACE_LACKS_UID_T
90 #define ACE_LACKS_GID_T
92 // We trust the user: He must have used -mpentiumpro or -mpentium
93 // if that is what he wants.
94 #if defined(pentiumpro) || defined(pentium)
95 # define ACE_HAS_PENTIUM
96 #endif
98 #define ACE_INT64_FORMAT_SPECIFIER_ASCII "%I64d"
99 #define ACE_UINT64_FORMAT_SPECIFIER_ASCII "%I64u"
101 #define ACE_ENDTHREADEX(STATUS) ::_endthreadex ((DWORD) (STATUS))
103 #define ACE_DLL_PREFIX ACE_TEXT ("lib")
105 #include /**/ "ace/post.h"
106 #endif /* ACE_CONFIG_WIN32_MINGW_H */