source: uKadecot/trunk/tools/makefsdata/integer.h

Last change on this file was 108, checked in by coas-nagasima, 9 years ago

MIMEプロパティの変更

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
  • Property svn:mime-type set to text/x-chdr; charset=SHIFT_JIS
File size: 673 bytes
Line 
1/*-------------------------------------------*/
2/* Integer type definitions for FatFs module */
3/*-------------------------------------------*/
4
5#ifndef _FF_INTEGER
6#define _FF_INTEGER
7
8#ifdef _WIN32 /* FatFs development platform */
9
10#include <windows.h>
11#include <tchar.h>
12
13#else /* Embedded platform */
14
15/* This type MUST be 8 bit */
16typedef unsigned char BYTE;
17
18/* These types MUST be 16 bit */
19typedef short SHORT;
20typedef unsigned short WORD;
21typedef unsigned short WCHAR;
22
23/* These types MUST be 16 bit or 32 bit */
24typedef int INT;
25typedef unsigned int UINT;
26
27/* These types MUST be 32 bit */
28typedef long LONG;
29typedef unsigned long DWORD;
30
31#endif
32
33#endif
Note: See TracBrowser for help on using the repository browser.