Contiki-NG
Loading...
Searching...
No Matches
integer.h
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>
12typedef unsigned __int64 QWORD;
13
14
15#else /* Embedded platform */
16
17/* These types MUST be 16-bit or 32-bit */
18typedef int INT;
19typedef unsigned int UINT;
20
21/* This type MUST be 8-bit */
22typedef unsigned char BYTE;
23
24/* These types MUST be 16-bit */
25typedef short SHORT;
26typedef unsigned short WORD;
27typedef unsigned short WCHAR;
28
29/* These types MUST be 32-bit */
30typedef long LONG;
31typedef unsigned long DWORD;
32
33/* This type MUST be 64-bit (Remove this for C89 compatibility) */
34typedef unsigned long long QWORD;
35
36#endif
37
38#endif