File: longbits.h

package info (click to toggle)
apcalc 2.12.1.5-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 5,548 kB
  • ctags: 4,129
  • sloc: ansic: 53,374; makefile: 5,589; awk: 96; sed: 33; sh: 13
file content (34 lines) | stat: -rw-r--r-- 770 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*
 * DO NOT EDIT -- generated by the Makefile
 */


#if !defined(__LONGBITS_H__)
#define __LONGBITS_H__


#undef LONG_BITS
#define LONG_BITS 32		/* bit length of a long */

/* size of long was forced */

typedef unsigned char USB8;	/* unsigned 8 bits */
typedef signed char SB8;	/* signed 8 bits */

typedef unsigned short USB16;	/* unsigned 16 bits */
typedef short SB16;		/* signed 16 bits */

typedef unsigned long USB32;	/* unsigned 32 bits */
typedef long SB32;		/* signed 32 bits */

#undef HAVE_B64
#define HAVE_B64		/* have USB64 and SB64 types */
typedef unsigned long long USB64;	/* unsigned 64 bits */
typedef long long SB64;		/* signed 64 bits */

/* how to form 64 bit constants */
#define U(x) x ## ULL
#define L(x) x ## LL


#endif /* !__LONGBITS_H__ */