OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [freertos-6.1.1/] [Demo/] [Common/] [FileSystem/] [FatFs-0.7e/] [src/] [fat_integer.h] - Blame information for rev 606

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 606 jeremybenn
/*-------------------------------------------*/
2
/* Integer type definitions for FatFs module */
3
/*-------------------------------------------*/
4
 
5
#ifndef _INTEGER
6
 
7
#if 0
8
#include <windows.h>
9
#else
10
 
11
/* These types must be 16-bit, 32-bit or larger integer */
12
typedef int                             INT;
13
typedef unsigned int    UINT;
14
 
15
/* These types must be 8-bit integer */
16
typedef signed char             CHAR;
17
typedef unsigned char   UCHAR;
18
typedef unsigned char   BYTE;
19
 
20
/* These types must be 16-bit integer */
21
typedef short                   SHORT;
22
typedef unsigned short  USHORT;
23
typedef unsigned short  WORD;
24
typedef unsigned short  WCHAR;
25
 
26
/* These types must be 32-bit integer */
27
typedef long                    LONG;
28
typedef unsigned long   ULONG;
29
typedef unsigned long   DWORD;
30
 
31
/* Boolean type */
32
typedef enum { FALSE = 0, TRUE } BOOL;
33
 
34
#endif
35
 
36
#define _INTEGER
37
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.