Better menu verbiage for test_codec
[kugel-rb.git] / flash / uart_boot / scalar_types.h
blobf3ac1d86eb50413316f8b83b56f763b7d94be49f
1 // this is meant to resolve platform dependency
3 #ifndef _SCALAR_TYPES_H
4 #define _SCALAR_TYPES_H
7 #ifdef WIN32
8 #include <windows.h>
9 #define SLEEP Sleep
10 #define GET_LAST_ERR GetLastError
11 #endif
12 // ToDo: add stuff for Linux
16 #ifndef UINT8
17 #define UINT8 unsigned char
18 #endif
20 #ifndef UINT16
21 #define UINT16 unsigned short
22 #endif
24 #ifndef UINT32
25 #define UINT32 unsigned long
26 #endif
28 #ifndef bool
29 #define bool int
30 #endif
32 #ifndef true
33 #define true 1
34 #endif
36 #ifndef false
37 #define false 0
38 #endif
44 #endif