File: sysdep.h

package info (click to toggle)
saclib 2.2.8-6.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 11,872 kB
  • sloc: ansic: 40,932; csh: 1,190; asm: 541; awk: 320; sh: 246; perl: 116; makefile: 98; sed: 48
file content (18 lines) | stat: -rw-r--r-- 374 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include <endian.h>
#include <bits/wordsize.h>

#if __BYTE_ORDER == __LITTLE_ENDIAN
# define _LITTLE_ENDIAN_
# undef _BIG_ENDIAN_
#else
# undef _LITTLE_ENDIAN_
# define _BIG_ENDIAN_
#endif

/* Enable use of fesetround(FE_DOWNWARD) and fesetround(FE_UPWARD) where
 * supported.
 */
#include <fenv.h>
#if defined(FE_DOWNWARD) && defined(FE_UPWARD)
# define _X86_LINUX_
#endif