Debian Codegraph @

android/app/jni/extern/macports-legacy-support/include/IOKit/usb/USB.h

raw
1 /*
2 * Copyright (c) 2021 Evan Miller <[email protected]>
3 *
4 * Permission to use, copy, modify, and distribute this software for any
5 * purpose with or without fee is hereby granted, provided that the above
6 * copyright notice and this permission notice appear in all copies.
7 *
8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15 */
16
17 /* pack(1) and align=reset don't mix in some versions of GCC.
18 * See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50909 */
19 #if defined(__GNUC__) && defined(__GNUC_MINOR__) && !defined(__clang__)
20 #if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5)
21 /* 10.4 and up need three invocations */
22 #pragma options align=power
23 #pragma options align=power
24 #pragma options align=power
25 /* 10.8 and up need two more */
26 #pragma options align=power
27 #pragma options align=power
28 /* 10.15 and up need none (extras won't hurt so SDK branching is unimplemented) */
29 #endif
30 #endif
31
32 #include_next <IOKit/usb/USB.h>