diff options
| author | Jack Humbert <jack.humb@gmail.com> | 2017-07-07 11:55:23 -0400 |
|---|---|---|
| committer | Jack Humbert <jack.humb@gmail.com> | 2017-07-07 11:55:23 -0400 |
| commit | 8655d4f4948b2deef7844503c8d690f23ac1a062 (patch) | |
| tree | b2c6effc9d6cd5b5b43933a1e53b8bf17e9e82cf /lib/lufa/Projects/Webserver/Lib/FATFs/integer.h | |
| parent | 1896c76a2928c96f9ab7947bec2ef8dd37623cff (diff) | |
| parent | 60b30c036397cb5627fa374bb930794b225daa29 (diff) | |
| download | qmk_firmware-8655d4f4948b2deef7844503c8d690f23ac1a062.tar.gz qmk_firmware-8655d4f4948b2deef7844503c8d690f23ac1a062.zip | |
Merge commit '60b30c036397cb5627fa374bb930794b225daa29' as 'lib/lufa'
Diffstat (limited to 'lib/lufa/Projects/Webserver/Lib/FATFs/integer.h')
| -rw-r--r-- | lib/lufa/Projects/Webserver/Lib/FATFs/integer.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/lib/lufa/Projects/Webserver/Lib/FATFs/integer.h b/lib/lufa/Projects/Webserver/Lib/FATFs/integer.h new file mode 100644 index 000000000..5408fe6b3 --- /dev/null +++ b/lib/lufa/Projects/Webserver/Lib/FATFs/integer.h | |||
| @@ -0,0 +1,38 @@ | |||
| 1 | /*-------------------------------------------*/ | ||
| 2 | /* Integer type definitions for FatFs module */ | ||
| 3 | /*-------------------------------------------*/ | ||
| 4 | |||
| 5 | #ifndef _INTEGER | ||
| 6 | #define _INTEGER | ||
| 7 | |||
| 8 | #ifdef _WIN32 /* FatFs development platform */ | ||
| 9 | |||
| 10 | #include <windows.h> | ||
| 11 | #include <tchar.h> | ||
| 12 | |||
| 13 | #else /* Embedded platform */ | ||
| 14 | |||
| 15 | /* These types must be 16-bit, 32-bit or larger integer */ | ||
| 16 | typedef int INT; | ||
| 17 | typedef unsigned int UINT; | ||
| 18 | |||
| 19 | /* These types must be 8-bit integer */ | ||
| 20 | typedef char CHAR; | ||
| 21 | typedef unsigned char UCHAR; | ||
| 22 | typedef unsigned char BYTE; | ||
| 23 | |||
| 24 | /* These types must be 16-bit integer */ | ||
| 25 | typedef short SHORT; | ||
| 26 | typedef unsigned short USHORT; | ||
| 27 | typedef unsigned short WORD; | ||
| 28 | typedef unsigned short WCHAR; | ||
| 29 | |||
| 30 | /* These types must be 32-bit integer */ | ||
| 31 | typedef long LONG; | ||
| 32 | typedef unsigned long ULONG; | ||
| 33 | typedef unsigned long DWORD; | ||
| 34 | |||
| 35 | #endif | ||
| 36 | |||
| 37 | #endif | ||
| 38 | |||
