]> cloudbase.mooo.com Git - z180-stamp.git/blame_incremental - fatfs/source/integer.h
Import fatfs R0.13b
[z180-stamp.git] / fatfs / source / integer.h
... / ...
CommitLineData
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
11typedef unsigned __int64 QWORD;\r
12\r
13#else /* Embedded platform */\r
14\r
15/* These types MUST be 16-bit or 32-bit */\r
16typedef int INT;\r
17typedef unsigned int UINT;\r
18\r
19/* This type MUST be 8-bit */\r
20typedef unsigned char BYTE;\r
21\r
22/* These types MUST be 16-bit */\r
23typedef short SHORT;\r
24typedef unsigned short WORD;\r
25typedef unsigned short WCHAR;\r
26\r
27/* These types MUST be 32-bit */\r
28typedef long LONG;\r
29typedef unsigned long DWORD;\r
30\r
31/* This type MUST be 64-bit (Remove this for ANSI C (C89) compatibility) */\r
32typedef unsigned long long QWORD;\r
33\r
34#endif\r
35\r
36#endif\r