Changes to attempt to silence bcc64x
[ACE_TAO.git] / ACE / ace / config-win32-mingw64.h
blob1b5b42475999a58b62523cb40c2c2ea7ad86690c
1 // -*- C++ -*-
2 //
3 // The following configuration file is designed to work for win32 and win64
4 // platforms using gcc/g++ with mingw64 (http://http://mingw-w64.sourceforge.net/).
5 //
7 #ifndef ACE_CONFIG_WIN32_MINGW64_H
8 #define ACE_CONFIG_WIN32_MINGW64_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__) || !defined (__MINGW64_VERSION_MAJOR)
19 # error You do not seem to be using mingw64
20 #endif
22 #if defined (WIN64) || defined (__WIN64__)
23 # define ACE_SIZEOF_LONG_DOUBLE 16
24 #else
25 # define ACE_SIZEOF_LONG_DOUBLE 12
26 #endif
28 #include "ace/config-g++-common.h"
30 #include /**/ <_mingw.h>
31 #include /**/ <w32api.h>
33 #if defined (exception_info)
34 # undef exception_info
35 #endif
37 #define ACE_HAS_USER_MODE_MASKS
39 #if (!defined (__MINGW64_VERSION_MAJOR) || (__MINGW64_VERSION_MAJOR < 3))
40 # error You need a newer version (>= 3.0) of mingw32/w32api
41 #endif
43 #include <stdio.h>
45 #if defined (fileno)
46 # undef fileno
47 #endif
48 # define ACE_FILENO_EQUIVALENT ::_fileno
50 #define ACE_HAS_SSIZE_T
51 #undef ACE_LACKS_TELLDIR
52 #undef ACE_LACKS_SEEKDIR
53 #undef ACE_LACKS_REWINDDIR
54 #undef ACE_LACKS_USECONDS_T
56 #define ACE_HAS_POSIX_TIME 1
57 #define ACE_LACKS_TIMESPEC_T 1
58 #define ACE_HAS_NONCONST_SELECT_TIMEVAL 1
60 #if defined (ACE_HAS_QOS) && !defined (ACE_HAS_WINSOCK2_GQOS)
61 # define ACE_HAS_WINSOCK2_GQOS
62 #endif
64 #if defined (WIN64) || defined (__WIN64__)
65 # define ACE_LACKS_INLINE_ASSEMBLY
66 #endif
68 #include <stdlib.h>
69 #if defined (strtod)
70 # undef strtod
71 #endif
73 #undef ACE_HAS_WTOF
75 #define ACE_LACKS_SYS_SHM_H
76 #define ACE_LACKS_TERMIOS_H
77 #define ACE_LACKS_NETINET_TCP_H
78 #define ACE_LACKS_STRRECVFD
79 #define ACE_LACKS_STRPTIME
80 #define ACE_LACKS_POLL_H
81 #define ACE_LACKS_REGEX_H
82 #define ACE_LACKS_SYS_MSG_H
83 #define ACE_LACKS_PWD_H
84 #define ACE_LACKS_SEMAPHORE_H
85 #define ACE_LACKS_UCONTEXT_H
86 #define ACE_LACKS_SYS_SELECT_H
87 #define ACE_LACKS_SYS_RESOURCE_H
88 #define ACE_LACKS_SYS_WAIT_H
89 #define ACE_LACKS_DLFCN_H
90 #define ACE_LACKS_SYS_MMAN_H
91 #define ACE_LACKS_SYS_UIO_H
92 #define ACE_LACKS_SYS_SOCKET_H
93 #define ACE_LACKS_NETINET_IN_H
94 #define ACE_LACKS_NETDB_H
95 #define ACE_LACKS_NET_IF_H
96 #define ACE_LACKS_SYS_IPC_H
97 #define ACE_LACKS_SYS_SEM_H
98 #define ACE_LACKS_STROPTS_H
99 #define ACE_LACKS_SYS_IOCTL_H
100 #define ACE_LACKS_PDH_H
101 #define ACE_LACKS_PDHMSG_H
102 #define ACE_LACKS_STRTOK_R
103 #define ACE_LACKS_LOCALTIME_R
104 #define ACE_LACKS_GMTIME_R
105 #define ACE_LACKS_ASCTIME_R
106 #define ACE_HAS_NONCONST_WCSDUP
107 #define ACE_ISCTYPE_EQUIVALENT ::_isctype
108 #define ACE_LACKS_SET_ABORT_BEHAVIOR
109 #define ACE_LACKS_NLINK_T
110 #define ACE_LACKS_UID_T
111 #define ACE_LACKS_GID_T
113 #define ACE_INT64_FORMAT_SPECIFIER_ASCII "%I64d"
114 #define ACE_UINT64_FORMAT_SPECIFIER_ASCII "%I64u"
116 #define ACE_ENDTHREADEX(STATUS) ::_endthreadex ((DWORD) (STATUS))
118 #define ACE_DLL_PREFIX ACE_TEXT ("lib")
120 #if defined(_UCRT)
121 # define ACE_HAS_3_PARAM_WCSTOK
122 #endif
125 #include /**/ "ace/post.h"
126 #endif /* ACE_CONFIG_WIN32_MINGW64_H */