]>
Commit | Line | Data |
---|---|---|
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 | typedef unsigned __int64 QWORD;\r | |
12 | \r | |
13 | #else /* Embedded platform */\r | |
14 | \r | |
15 | /* These types MUST be 16-bit or 32-bit */\r | |
16 | typedef int INT;\r | |
17 | typedef unsigned int UINT;\r | |
18 | \r | |
19 | /* This type MUST be 8-bit */\r | |
20 | typedef unsigned char BYTE;\r | |
21 | \r | |
22 | /* These types MUST be 16-bit */\r | |
23 | typedef short SHORT;\r | |
24 | typedef unsigned short WORD;\r | |
25 | typedef unsigned short WCHAR;\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 | /* This type MUST be 64-bit (Remove this for ANSI C (C89) compatibility) */\r | |
32 | typedef unsigned long long QWORD;\r | |
33 | \r | |
34 | #endif\r | |
35 | \r | |
36 | #endif\r |