]> cloudbase.mooo.com Git - z180-stamp.git/blame - fatfs/src/integer.h
Import fatfs R0.10c
[z180-stamp.git] / fatfs / src / integer.h
CommitLineData
53668523
L
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
11#include <tchar.h>\r
12\r
13#else /* Embedded platform */\r
14\r
15/* This type MUST be 8 bit */\r
16typedef unsigned char BYTE;\r
17\r
18/* These types MUST be 16 bit */\r
19typedef short SHORT;\r
20typedef unsigned short WORD;\r
21typedef unsigned short WCHAR;\r
22\r
23/* These types MUST be 16 bit or 32 bit */\r
24typedef int INT;\r
25typedef unsigned int UINT;\r
26\r
27/* These types MUST be 32 bit */\r
28typedef long LONG;\r
29typedef unsigned long DWORD;\r
30\r
31#endif\r
32\r
33#endif\r