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