Updated PCI IDs to latest snapshot.
[tangerine.git] / compiler / clib / include / values.h
blobabee6d2045eb0316ca4d6b956d88355bee62a35a
1 #ifndef _VALUES_H_
2 #define _VALUES_H_
4 /*
5 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 $Id$
8 Desc: Sizes of c(++) types
9 Lang: english
12 /* How many bits/bytes has a type? */
13 #define BITSPERBYTE 8
14 #define BYTESPERLONG 4
15 #define BITSPERLONG (BITSPERBYTE * BYTESPERLONG)
16 #define BYTESPERQUAD 8
17 #define BITSPERQUAD (BITSPERBYTE * BYTESPERQUAD)
19 /* Minimum and maximum value of a signed type */
20 #define MININT (1 << (((sizeof(int) * BITSPERBYTE) - 1))
21 #define MAXINT (~MININT)
23 #endif /* _VALUES_H_ */