STIMA  3
integer.h
1 /*-------------------------------------------*/
2 /* Integer type definitions for FatFs module */
3 /*-------------------------------------------*/
4 
5 #ifndef _FF_INTEGER
6 #define _FF_INTEGER
7 
8 #ifdef _WIN32 /* FatFs development platform */
9 
10 #include <windows.h>
11 #include <tchar.h>
12 
13 #else /* Embedded platform */
14 
15 /* This type MUST be 8 bit */
16 typedef unsigned char BYTE;
17 
18 /* These types MUST be 16 bit */
19 typedef short SHORT;
20 typedef unsigned short WORD;
21 typedef unsigned short WCHAR;
22 
23 /* These types MUST be 16 bit or 32 bit */
24 typedef int INT;
25 typedef unsigned int UINT;
26 
27 /* These types MUST be 32 bit */
28 typedef long LONG;
29 typedef unsigned long DWORD;
30 
31 #endif
32 
33 #endif