areaDetector  3-5-0
EPICS areaDetector framework
types.h
Go to the documentation of this file.
1 #ifndef types_h
2 #define types_h
3 
4 #if defined(__alpha)
5 #define ADDR32 unsigned int
6 #define CHAR8 char
7 #define INT8 signed char
8 #define UINT8 unsigned char
9 #define INT16 signed short
10 #define UINT16 unsigned short
11 #define INT32 signed int
12 #define UINT32 unsigned int
13 #define INT64 signed long
14 #define UINT64 unsigned long
15 #define FLOAT32 float
16 #define FLOAT64 double
17 /*
18 #elif defined(__hpux)
19 #define ADDR32 unsigned long
20 #define CHAR8 char
21 #define INT8 char
22 #define UINT8 unsigned char
23 #define INT16 short
24 #define UINT16 unsigned short
25 #define INT32 long
26 #define UINT32 unsigned long
27 #define FLOAT32 float
28 #define FLOAT64 double
29 */
30 #elif defined(__sgi)
31 #if defined(_MIPS_SIM_ABI64)
32 #define ADDR32 unsigned int
33 #define CHAR8 char
34 #define INT8 signed char
35 #define UINT8 unsigned char
36 #define INT16 signed short
37 #define UINT16 unsigned short
38 #define INT32 signed int
39 #define UINT32 unsigned int
40 #define INT64 long long
41 #define UINT64 unsigned long long
42 #define FLOAT32 float
43 #define FLOAT64 double
44 #else
45 #define ADDR32 unsigned long
46 #define CHAR8 char
47 #define INT8 signed char
48 #define UINT8 unsigned char
49 #define INT16 signed short
50 #define UINT16 unsigned short
51 #define INT32 signed long
52 #define UINT32 unsigned long
53 #define INT64 long long
54 #define UINT64 unsigned long long
55 #define FLOAT32 float
56 #define FLOAT64 double
57 #endif
58 #else
59 #define ADDR32 unsigned long
60 #define CHAR8 char
61 #define INT8 signed char
62 #define UINT8 unsigned char
63 #define INT16 signed short
64 #define UINT16 unsigned short
65 #define INT32 signed long
66 #define INT64 long long
67 #define UINT64 unsigned long long
68 #define UINT32 unsigned long
69 #define FLOAT32 float
70 #define FLOAT64 double
71 #endif
72 
73 
74 #endif /* types_h */