blob: 081f01ea1de79d8aea1c9a236911b10ab589a670 (
plain)
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
/* $Header: standenviron.h,v 1.1 88/01/15 13:07:12 simpson Rel $ */
/*
$Log: standenviron.h,v $
* Revision 1.1 88/01/15 13:07:12 simpson
* initial release
*
* Revision 0.1 87/12/11 18:34:14 simpson
* beta test
*
*/
/*
* This file defines the machine/compiler C environment. It defines
* pre-processor macros that tell what C features are supported.
*
* #define HAS_UNSIGNED_SHORT Implies unsigned shorts are supported
* #define CHAR_IS_SIGNED Implies chars are signed
* #define HAS_UNSIGNED_CHAR Implies unsigned chars are supported
* #define HAS_UNSIGNED_LONG Implies unsigned longs are supported
* #define BITS_PER_CHAR n Number of bits in a char
* #define BITS_PER_INT n Number of bits in an int
* #define BITS_PER_LONG n Number of bits in a long
* #define BITS_PER_POINTER n Number of bits in a pointer
* #define BITS_PER_SHORT n Number of bits in a short
* #define HAS_VOID Implies void function type is supported
*/
#ifndef STANDARD_ENVIRON /* prevent multiple inclusions */
#if defined(vax) || defined(pyr) || defined(sun)
# define HAS_UNSIGNED_SHORT
# define CHAR_IS_SIGNED
# define HAS_UNSIGNED_CHAR
# define HAS_UNSIGNED_LONG
# define HAS_VOID
# define BITS_PER_CHAR 8
# define BITS_PER_SHORT 16
# define BITS_PER_INT 32
# define BITS_PER_LONG 32
# define BITS_PER_POINTER 32
# define STANDARD_ENVIRON
#endif
#endif STANDARD_ENVIRON
/* make sure a known processor type was specified */
#ifndef STANDARD_ENVIRON
# include "Processor type unknown or unspecified"
#endif STANDARD_ENVIRON
|