File: config.h

package info (click to toggle)
skiboot 6.7.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 35,060 kB
  • sloc: ansic: 214,818; sh: 11,529; python: 3,418; cpp: 3,135; makefile: 1,773; perl: 1,479; asm: 1,445; tcl: 1,147; pascal: 107
file content (24 lines) | stat: -rw-r--r-- 457 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
/*
 * For CCAN
 *
 * Copyright 2015 IBM Corp.
 */

#include <endian.h>
#include <byteswap.h>

#define HAVE_TYPEOF			1
#define HAVE_BUILTIN_TYPES_COMPATIBLE_P	1


#if __BYTE_ORDER == __LITTLE_ENDIAN
#define HAVE_BIG_ENDIAN         0
#define HAVE_LITTLE_ENDIAN      1
#else
#define HAVE_BIG_ENDIAN         1
#define HAVE_LITTLE_ENDIAN      0
#endif

#define HAVE_BYTESWAP_H 1
#define HAVE_BSWAP_64	1