precompiled.hpp
Go to the documentation of this file.
1 /* SPDX-License-Identifier: MPL-2.0 */
2 
3 #ifndef __ZMQ_PRECOMPILED_HPP_INCLUDED__
4 #define __ZMQ_PRECOMPILED_HPP_INCLUDED__
5 
6 // On AIX platform, poll.h has to be included first to get consistent
7 // definition of pollfd structure (AIX uses 'reqevents' and 'retnevents'
8 // instead of 'events' and 'revents' and defines macros to map from POSIX-y
9 // names to AIX-specific names).
10 // zmq.h must be included *after* poll.h for AIX to build properly.
11 // precompiled.hpp includes include/zmq.h
12 #if defined ZMQ_POLL_BASED_ON_POLL && defined ZMQ_HAVE_AIX
13 #include <poll.h>
14 #endif
15 
16 #include "platform.hpp"
17 
18 #define __STDC_LIMIT_MACROS
19 
20 // This must be included before any windows headers are compiled.
21 #if defined ZMQ_HAVE_WINDOWS
22 #include "windows.hpp"
23 #endif
24 
25 #if defined ZMQ_HAVE_OPENBSD
26 #define ucred sockpeercred
27 #endif
28 
29 // 0MQ definitions and exported functions
30 #include "../include/zmq.h"
31 
32 // 0MQ DRAFT definitions and exported functions
33 #include "zmq_draft.h"
34 
35 // TODO: expand pch implementation to non-windows builds.
36 #ifdef _MSC_VER
37 
38 // standard C headers
39 #include <assert.h>
40 #include <ctype.h>
41 #include <errno.h>
42 #include <io.h>
43 #include <ipexport.h>
44 #include <iphlpapi.h>
45 #include <limits.h>
46 #include <mstcpip.h>
47 #include <mswsock.h>
48 #include <process.h>
49 #include <rpc.h>
50 #include <signal.h>
51 #include <stdarg.h>
52 #include <stddef.h>
53 #include <stdio.h>
54 #include <stdlib.h>
55 #include <string.h>
56 #include <sys/stat.h>
57 #include <sys/types.h>
58 #include <time.h>
59 #include <winsock2.h>
60 #include <ws2tcpip.h>
61 
62 // standard C++ headers
63 #include <algorithm>
64 #include <climits>
65 #include <cmath>
66 #include <cstddef>
67 #include <cstdlib>
68 #include <cstring>
69 #include <deque>
70 #include <limits>
71 #include <map>
72 #include <new>
73 #include <set>
74 #include <sstream>
75 #include <string>
76 #include <vector>
77 
78 #if _MSC_VER >= 1800
79 #include <inttypes.h>
80 #endif
81 
82 #if _MSC_VER >= 1700
83 #include <atomic>
84 #endif
85 
86 #if defined _WIN32_WCE
87 #include <cmnintrin.h>
88 #else
89 #include <intrin.h>
90 #endif
91 
92 #if defined HAVE_LIBGSSAPI_KRB5
93 #include "err.hpp"
94 #include "msg.hpp"
95 #include "mechanism.hpp"
96 #include "session_base.hpp"
97 #include "gssapi_server.hpp"
98 #include "wire.hpp"
99 #include <gssapi/gssapi.h>
100 #include <gssapi/gssapi_krb5.h>
101 #endif
102 
103 #include "options.hpp"
104 
105 #endif // _MSC_VER
106 
107 #endif //ifndef __ZMQ_PRECOMPILED_HPP_INCLUDED__
mechanism.hpp
zmq_draft.h
io.h
gssapi_server.hpp
wire.hpp
windows.hpp
msg.hpp
options.hpp
err.hpp
assert.h
session_base.hpp


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:06:57