Also use Objects as part of an operation but as a result don't generate Any operation...
[ACE_TAO.git] / ACE / ace / config-win32-mingw64.h
blobb801b10a77105097d3756d23ebcf69556649a6cb
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 < 2))
40 # error You need a newer version (>= 2.0) of mingw32/w32api
41 #endif
43 #include <stdio.h>
45 #if defined (fileno)
46 # undef fileno
47 #endif
48 #if (__MINGW64_VERSION_MAJOR >= 3)
49 # define ACE_FILENO_EQUIVALENT ::_fileno
51 // Latest version of MingW64 (GCC 4.8.2) with Win32 threading
52 // defines a 'pthread_sigmask' macro when including signal.h.
53 // We have to remove that one since ACE declares a (non-functional)
54 // pthread_sigmask method in ACE_OS.
55 # include <signal.h>
56 # if defined (pthread_sigmask)
57 # undef pthread_sigmask
58 # endif
59 #endif
61 #if (__MINGW64_VERSION_MAJOR >= 2)
63 # define ACE_HAS_SSIZE_T
64 # undef ACE_LACKS_STRUCT_DIR
65 # undef ACE_LACKS_OPENDIR
66 # undef ACE_LACKS_CLOSEDIR
67 # undef ACE_LACKS_READDIR
68 # undef ACE_LACKS_TELLDIR
69 # undef ACE_LACKS_SEEKDIR
70 # undef ACE_LACKS_REWINDDIR
71 # undef ACE_LACKS_USECONDS_T
73 # define ACE_HAS_POSIX_TIME 1
74 # define ACE_LACKS_TIMESPEC_T 1
75 # define ACE_HAS_NONCONST_SELECT_TIMEVAL 1
77 # if defined (ACE_HAS_QOS) && !defined (ACE_HAS_WINSOCK2_GQOS)
78 # define ACE_HAS_WINSOCK2_GQOS
79 # endif
81 # if defined (WIN64) || defined (__WIN64__)
82 # define ACE_LACKS_INLINE_ASSEMBLY
83 # endif
85 # include <stdlib.h>
86 # if defined (strtod)
87 # undef strtod
88 # endif
90 #else
91 # define ACE_LACKS_DIRENT_H
92 #endif // __MINGW64_VERSION_MAJOR >= 3
94 #undef ACE_HAS_WTOF
96 #define ACE_LACKS_SYS_SHM_H
97 #define ACE_LACKS_TERMIOS_H
98 #define ACE_LACKS_NETINET_TCP_H
99 #define ACE_LACKS_STRRECVFD
100 #define ACE_LACKS_STRPTIME
101 #define ACE_LACKS_POLL_H
102 #define ACE_LACKS_REGEX_H
103 #define ACE_LACKS_SYS_MSG_H
104 #define ACE_LACKS_PWD_H
105 #define ACE_LACKS_SEMAPHORE_H
106 #define ACE_LACKS_UCONTEXT_H
107 #define ACE_LACKS_SYS_SELECT_H
108 #define ACE_LACKS_SYS_RESOURCE_H
109 #define ACE_LACKS_SYS_WAIT_H
110 #define ACE_LACKS_DLFCN_H
111 #define ACE_LACKS_SYS_MMAN_H
112 #define ACE_LACKS_SYS_UIO_H
113 #define ACE_LACKS_SYS_SOCKET_H
114 #define ACE_LACKS_NETINET_IN_H
115 #define ACE_LACKS_NETDB_H
116 #define ACE_LACKS_NET_IF_H
117 #define ACE_LACKS_SYS_IPC_H
118 #define ACE_LACKS_SYS_SEM_H
119 #define ACE_LACKS_STROPTS_H
120 #define ACE_LACKS_SYS_IOCTL_H
121 #define ACE_LACKS_PDH_H
122 #define ACE_LACKS_PDHMSG_H
123 #define ACE_LACKS_STRTOK_R
124 #define ACE_LACKS_LOCALTIME_R
125 #define ACE_LACKS_GMTIME_R
126 #define ACE_LACKS_ASCTIME_R
127 #define ACE_HAS_NONCONST_WCSDUP
128 #define ACE_ISCTYPE_EQUIVALENT ::_isctype
130 #define ACE_HAS_PTHREAD_SIGMASK_PROTOTYPE
132 #define ACE_INT64_FORMAT_SPECIFIER_ASCII "%I64d"
133 #define ACE_UINT64_FORMAT_SPECIFIER_ASCII "%I64u"
135 #define ACE_ENDTHREADEX(STATUS) ::_endthreadex ((DWORD) (STATUS))
137 #define ACE_DLL_PREFIX ACE_TEXT ("lib")
139 #include /**/ "ace/post.h"
140 #endif /* ACE_CONFIG_WIN32_MINGW64_H */