• Home
  • Raw
  • Download

Lines Matching +full:macos +full:- +full:gcc

1 /* -*- Mode: c; tab-width: 8; indent-tabs-mode: 1; c-basic-offset: 8; -*- */
38 #include <pcap/compiler-tests.h>
42 * compiler-specific extensions.
108 /* XXX - does this need special treatment? */
121 * GCC 3.4 and later, or some compiler asserting compatibility with
122 * GCC 3.4 and later, or XL C 13.0 and later, so we have
155 * Yes, that's you, Apple. :-) Please define PCAP_AVAILABLE_MACOS()
158 * to run on multiple macOS versions and use new APIs when available.
159 * (Yes, such third-party software exists - Wireshark provides binary
160 * packages for macOS, for example. tcpdump doesn't count, as that's
164 * The non-macOS versioning is based on
171 * https://github.com/the-tcpdump-group/libpcap
174 * installing libpcap on macOS yourself, the APIs will be available
186 * When building as part of macOS, define this as __API_AVAILABLE(__VA_ARGS__).
188 * XXX - if there's some #define to indicate that this is being built
189 * as part of the macOS build process, we could make that Just Work.
192 #define PCAP_AVAILABLE_0_4 PCAP_AVAILABLE(macos(10.0)) /* Did any version of Mac OS X ship with thi…
193 #define PCAP_AVAILABLE_0_5 PCAP_AVAILABLE(macos(10.0)) /* Did any version of Mac OS X ship with thi…
194 #define PCAP_AVAILABLE_0_6 PCAP_AVAILABLE(macos(10.1))
195 #define PCAP_AVAILABLE_0_7 PCAP_AVAILABLE(macos(10.4))
196 #define PCAP_AVAILABLE_0_8 PCAP_AVAILABLE(macos(10.4))
197 #define PCAP_AVAILABLE_0_9 PCAP_AVAILABLE(macos(10.5), ios(1.0))
198 #define PCAP_AVAILABLE_1_0 PCAP_AVAILABLE(macos(10.6), ios(4.0))
200 #define PCAP_AVAILABLE_1_2 PCAP_AVAILABLE(macos(10.9), ios(6.0))
203 #define PCAP_AVAILABLE_1_5 PCAP_AVAILABLE(macos(10.10), ios(7.0), watchos(1.0))
205 #define PCAP_AVAILABLE_1_7 PCAP_AVAILABLE(macos(10.12), ios(10.0), tvos(10.0), watchos(3.0))
206 …AILABLE_1_8 PCAP_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), watchos(4.0)) /* only Windows adds…
207 #define PCAP_AVAILABLE_1_9 PCAP_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), watchos(4.0))
208 #define PCAP_AVAILABLE_1_10 /* not in macOS yet */
209 #define PCAP_AVAILABLE_1_11 /* not released yet, so not in macOS yet */
249 * Compiler with support for __attribute((noreturn)), or GCC 2.5 and
250 * later, or some compiler asserting compatibility with GCC 2.5 and
270 * does printf-style formatting, with the xth argument being the format
279 * Compiler with support for it, or GCC 2.3 and later, or some compiler
280 * asserting compatibility with GCC 2.3 and later, or IBM XL C 10.1
301 * or GCC 4.5 and later, or Sun/Oracle C 12.4 (Sun C 5.13) and later.
310 * GCC 3.1 through 4.4.