- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinteger.h
More file actions
Latest commit
37 lines (28 loc) · 834 Bytes
/
Copy pathinteger.h
File metadata and controls
37 lines (28 loc) · 834 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/*-------------------------------------------*/
/* Integer type definitions for FatFs module */
/*-------------------------------------------*/
#ifndef_INTEGER
#if0
#include<windows.h>
#else
/* These types must be 16-bit, 32-bit or larger integer */
typedefintINT;
typedefunsigned intUINT;
/* These types must be 8-bit integer */
typedefsigned charCHAR;
typedefunsigned charUCHAR;
typedefunsigned charTBYTE;
/* These types must be 16-bit integer */
typedefshortSHORT;
typedefunsigned shortUSHORT;
typedefunsigned shortWORD;
typedefunsigned shortWCHAR;
/* These types must be 32-bit integer */
typedeflongLONG;
typedefunsigned longULONG;
typedefunsigned longDWORD;
/* Boolean type */
typedefenum { FALSE=0, TRUE } BOOL;
#endif
#define_INTEGER
#endif