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