Revert to Current Include Style
[ACE_TAO.git] / ACE / ace / config-win32-cegcc.h
blobf1480b2a5f1cd57054bed144ae24e42e67ca805e
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_CEGCC_H
8 #define ACE_CONFIG_WIN32_CEGCC_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 (ACE_HAS_CEGCC)
19 # error You do not seem to be using cegcc
20 #endif
22 // We trust the user: He must have used -mpentiumpro or -mpentium
23 // if that is what he wants.
24 #if defined(pentiumpro) || defined(pentium)
25 # define ACE_HAS_PENTIUM
26 #endif
28 #include "ace/config-g++-common.h"
30 #include /**/ <cegcc.h>
31 #include /**/ <w32api.h>
32 #include /**/ <_mingw.h>
34 #if (__MINGW32_MAJOR_VERSION > 3) || ((__MINGW32_MAJOR_VERSION == 3) && (__MINGW32_MINOR_VERSION >= 15))
35 # undef ACE_LACKS_USECONDS_T
36 #endif
38 #define ACE_HAS_USER_MODE_MASKS
40 #define ACE_HAS_SSIZE_T
41 #undef ACE_LACKS_STRUCT_DIR
42 #undef ACE_LACKS_OPENDIR
43 #undef ACE_LACKS_CLOSEDIR
44 #undef ACE_LACKS_READDIR
45 #undef ACE_LACKS_TELLDIR
46 #undef ACE_LACKS_SEEKDIR
47 #undef ACE_LACKS_REWINDDIR
49 #undef ACE_HAS_WTOF
51 #define ACE_LACKS_SYS_SHM_H
52 #define ACE_LACKS_TERMIOS_H
53 #define ACE_LACKS_NETINET_TCP_H
54 #define ACE_LACKS_STRRECVFD
55 #define ACE_LACKS_STRPTIME
56 #define ACE_LACKS_POLL_H
57 #define ACE_LACKS_REGEX_H
58 #define ACE_LACKS_SYS_MSG_H
59 #define ACE_LACKS_PWD_H
60 #define ACE_LACKS_SEMAPHORE_H
61 #define ACE_LACKS_UCONTEXT_H
62 #define ACE_LACKS_SYS_SELECT_H
63 #define ACE_LACKS_SYS_RESOURCE_H
64 #define ACE_LACKS_SYS_WAIT_H
65 #define ACE_LACKS_DLFCN_H
66 #define ACE_LACKS_SYS_MMAN_H
67 #define ACE_LACKS_SYS_UIO_H
68 #define ACE_LACKS_SYS_SOCKET_H
69 #define ACE_LACKS_NETINET_IN_H
70 #define ACE_LACKS_NETDB_H
71 #define ACE_LACKS_NET_IF_H
72 #define ACE_LACKS_SYS_IPC_H
73 #define ACE_LACKS_SYS_SEM_H
74 #define ACE_LACKS_STROPTS_H
75 #define ACE_LACKS_SYS_IOCTL_H
76 #define ACE_LACKS_PDH_H
77 #define ACE_LACKS_PDHMSG_H
78 #define ACE_HAS_NONCONST_WCSDUP
79 #define ACE_HAS_WINSOCK2_GQOS
80 #define ACE_LACKS_CORRECT_ISWPRINT_TAB
82 //Changes to compile on CE gcc.
83 #undef ACE_HAS_TYPES_H
84 #define ACE_LACKS_ERRNO_H
85 #undef ACE_LACKS_DEV_T
86 #define ACE_LACKS_ISCTYPE
87 #define ACE_HAS_NONCONST_WFDOPEN
88 #undef ACE_HAS_WTOI
89 #undef ACE_HAS_WTOL
91 #define ACE_INT64_FORMAT_SPECIFIER_ASCII "%I64d"
92 #define ACE_UINT64_FORMAT_SPECIFIER_ASCII "%I64u"
93 #define ACE_ENDTHREADEX(STATUS) ExitThread ((DWORD) STATUS)
95 #define ACE_Proper_Export_Flag __declspec (dllexport)
96 #define ACE_Proper_Import_Flag __declspec (dllimport)
97 #define ACE_EXPORT_SINGLETON_DECLARATION(T) template class __declspec (dllexport) T
98 #define ACE_EXPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) template class __declspec (dllexport) SINGLETON_TYPE<CLASS, LOCK>;
99 #define ACE_IMPORT_SINGLETON_DECLARATION(T) extern template class T
100 #define ACE_IMPORT_SINGLETON_DECLARE(SINGLETON_TYPE, CLASS, LOCK) extern template class SINGLETON_TYPE <CLASS, LOCK>;
102 #define ACE_DLL_PREFIX ACE_TEXT ("lib")
104 #include /**/ "ace/post.h"
105 #endif /* ACE_CONFIG_WIN32_CEGCC_H */