source:
azure_iot_hub_mbedtls/trunk/ntshell/fatfs/integer.h@
418
Last change on this file since 418 was 398, checked in by , 5 years ago | |
---|---|
|
|
File size: 698 bytes |
Rev | Line | |
---|---|---|
[398] | 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.