This commit is contained in:
unknown
2017-02-13 22:33:15 +08:00
parent c641c8019e
commit 6ee81de429
15 changed files with 9269 additions and 6785 deletions

View File

@@ -2,36 +2,37 @@
/* Integer type definitions for FatFs module */
/*-------------------------------------------*/
#ifndef _INTEGER
#define _INTEGER
#ifndef _FF_INTEGER
#define _FF_INTEGER
#ifdef _WIN32 /* FatFs development platform */
#include <windows.h>
#include <tchar.h>
typedef unsigned __int64 QWORD;
#else /* Embedded platform */
/* These types must be 16-bit, 32-bit or larger integer */
/* These types MUST be 16-bit or 32-bit */
typedef int INT;
typedef unsigned int UINT;
/* These types must be 8-bit integer */
typedef signed char CHAR;
typedef unsigned char UCHAR;
/* This type MUST be 8-bit */
typedef unsigned char BYTE;
/* These types must be 16-bit integer */
/* These types MUST be 16-bit */
typedef short SHORT;
typedef unsigned short USHORT;
typedef unsigned short WORD;
typedef unsigned short WCHAR;
/* These types must be 32-bit integer */
/* These types MUST be 32-bit */
typedef long LONG;
typedef unsigned long ULONG;
typedef unsigned long DWORD;
/* This type MUST be 64-bit (Remove this for C89 compatibility) */
typedef unsigned long long QWORD;
#endif
#endif