Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
mbed-os/features/filesystem/fat/ChaN/integer.h@0:02dd72d1d465, 2018-04-24 (annotated)
- Committer:
- borlanic
- Date:
- Tue Apr 24 11:45:18 2018 +0000
- Revision:
- 0:02dd72d1d465
BaBoRo_test2 - backup 1
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| borlanic | 0:02dd72d1d465 | 1 | /*-------------------------------------------*/ |
| borlanic | 0:02dd72d1d465 | 2 | /* Integer type definitions for FatFs module */ |
| borlanic | 0:02dd72d1d465 | 3 | /*-------------------------------------------*/ |
| borlanic | 0:02dd72d1d465 | 4 | |
| borlanic | 0:02dd72d1d465 | 5 | #ifndef FF_INTEGER |
| borlanic | 0:02dd72d1d465 | 6 | #define FF_INTEGER |
| borlanic | 0:02dd72d1d465 | 7 | |
| borlanic | 0:02dd72d1d465 | 8 | #ifdef _WIN32 /* FatFs development platform */ |
| borlanic | 0:02dd72d1d465 | 9 | |
| borlanic | 0:02dd72d1d465 | 10 | #include <windows.h> |
| borlanic | 0:02dd72d1d465 | 11 | #include <tchar.h> |
| borlanic | 0:02dd72d1d465 | 12 | typedef unsigned __int64 QWORD; |
| borlanic | 0:02dd72d1d465 | 13 | |
| borlanic | 0:02dd72d1d465 | 14 | |
| borlanic | 0:02dd72d1d465 | 15 | #else /* Embedded platform */ |
| borlanic | 0:02dd72d1d465 | 16 | |
| borlanic | 0:02dd72d1d465 | 17 | /* These types MUST be 16-bit or 32-bit */ |
| borlanic | 0:02dd72d1d465 | 18 | typedef int INT; |
| borlanic | 0:02dd72d1d465 | 19 | typedef unsigned int UINT; |
| borlanic | 0:02dd72d1d465 | 20 | |
| borlanic | 0:02dd72d1d465 | 21 | /* This type MUST be 8-bit */ |
| borlanic | 0:02dd72d1d465 | 22 | typedef unsigned char BYTE; |
| borlanic | 0:02dd72d1d465 | 23 | |
| borlanic | 0:02dd72d1d465 | 24 | /* These types MUST be 16-bit */ |
| borlanic | 0:02dd72d1d465 | 25 | typedef short SHORT; |
| borlanic | 0:02dd72d1d465 | 26 | typedef unsigned short WORD; |
| borlanic | 0:02dd72d1d465 | 27 | typedef unsigned short WCHAR; |
| borlanic | 0:02dd72d1d465 | 28 | |
| borlanic | 0:02dd72d1d465 | 29 | /* These types MUST be 32-bit */ |
| borlanic | 0:02dd72d1d465 | 30 | typedef long LONG; |
| borlanic | 0:02dd72d1d465 | 31 | typedef unsigned long DWORD; |
| borlanic | 0:02dd72d1d465 | 32 | |
| borlanic | 0:02dd72d1d465 | 33 | /* This type MUST be 64-bit (Remove this for ANSI C (C89) compatibility) */ |
| borlanic | 0:02dd72d1d465 | 34 | typedef unsigned long long QWORD; |
| borlanic | 0:02dd72d1d465 | 35 | |
| borlanic | 0:02dd72d1d465 | 36 | #endif |
| borlanic | 0:02dd72d1d465 | 37 | |
| borlanic | 0:02dd72d1d465 | 38 | #endif |