source:
EcnlProtoTool/trunk/ntshell/fatfs/integer.h@
278
Last change on this file since 278 was 278, checked in by , 7 years ago | |
---|---|
|
|
File size: 698 bytes |
Line | |
---|---|
1 | /*-------------------------------------------*/ |
2 | /* Integer type definitions for FatFs module */ |
3 | /*-------------------------------------------*/ |
4 | |
5 | #ifndef _FF_INTEGER |
6 | #define _FF_INTEGER |
7 | |
8 | #if 0//def _WIN32 /* FatFs development platform */ |
9 | |
10 | #include <windows.h> |
11 | #include <tchar.h> |
12 | |
13 | #else /* Embedded platform */ |
14 | #ifndef _WINNT_ |
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 | #endif |
31 | #endif |
32 | |
33 | #endif |
Note:
See TracBrowser
for help on using the repository browser.