LRT13  1.0
 All Classes Namespaces Functions Variables Enumerations Enumerator
typedef.h
1 #ifndef TYPEDEF_H_
2 #define TYPEDEF_H_
3 
4 #ifdef __VXWORKS__
5 #else
6 #include <stdint.h>
7 
8 #define NULL 0
9 
10 typedef int (*FUNCPTR) (...);
11 
12 #ifndef UINT8_DEF_
13 #define UINT8_DEF_
14 typedef uint8_t UINT8;
15 #endif
16 
17 #ifndef UINT16_DEF_
18 #define UINT16_DEF_
19 typedef uint16_t UINT16;
20 #endif
21 
22 #ifndef UINT32_DEF_
23 #define UINT32_DEF_
24 typedef uint32_t UINT32;
25 #endif
26 
27 #ifndef UINT64_DEF_
28 #define UINT64_DEF_
29 typedef uint64_t UINT64;
30 #endif
31 
32 #ifndef INT8_DEF_
33 #define INT8_DEF_
34 typedef int8_t INT8;
35 #endif
36 
37 #ifndef INT16_DEF_
38 #define INT16_DEF_
39 typedef int16_t INT16;
40 #endif
41 
42 // sketchy workaround for libjpeg
43 #define XMD_H
44 #ifndef INT32_DEF_
45 #define INT32_DEF_
46 typedef int32_t INT32;
47 #endif
48 // Fix issues with libjpeg
49 #ifndef INT64_DEF_
50 #define INT64_DEF_
51 typedef int64_t INT64;
52 #endif
53 
54 #ifndef ULONG_DEF_
55 #define ULONG_DEF_
56 typedef uint64_t ULONG;
57 #endif
58 
59 typedef int STATUS;
60 #endif
61 
62 #endif