Remove documentation and move fatfs src dir.
[bertos.git] / bertos / fs / fatfs / integer.h
1 /*-------------------------------------------*/
2 /* Integer type definitions for FatFs module */
3 /*-------------------------------------------*/
4
5 #ifndef _INTEGER
6
7 #include <cfg/compiler.h>
8
9 #if 0
10 #include <windows.h>
11 #else
12
13 /* These types must be 16-bit, 32-bit or larger integer */
14 typedef int16_t         INT;
15 typedef uint16_t        UINT;
16
17 /* These types must be 8-bit integer */
18 typedef int8_t          CHAR;
19 typedef uint8_t         UCHAR;
20 typedef uint8_t         BYTE;
21
22 /* These types must be 16-bit integer */
23 typedef int16_t         SHORT;
24 typedef uint16_t        USHORT;
25 typedef uint16_t        WORD;
26 typedef uint16_t        WCHAR;
27
28 /* These types must be 32-bit integer */
29 typedef int32_t         LONG;
30 typedef uint32_t        ULONG;
31 typedef uint32_t        DWORD;
32
33 /* Boolean type */
34 typedef enum { FALSE = 0, TRUE } BOOL;
35
36 #endif
37
38 #define _INTEGER
39 #endif