mirror of
https://github.com/reactos/reactos.git
synced 2025-05-21 01:54:21 +00:00
[FATTEN]
* Switch to using our existing host-tools header for types. Thanks Colin for pointing me to the right header (it was discrete so I missed it when looking). svn path=/trunk/; revision=69112
This commit is contained in:
parent
33f46109ab
commit
2347d1a709
3 changed files with 2 additions and 37 deletions
|
@ -12,7 +12,7 @@ extern "C" {
|
||||||
#define _USE_WRITE 1 /* 1: Enable disk_write function */
|
#define _USE_WRITE 1 /* 1: Enable disk_write function */
|
||||||
#define _USE_IOCTL 1 /* 1: Enable disk_ioctl fucntion */
|
#define _USE_IOCTL 1 /* 1: Enable disk_ioctl fucntion */
|
||||||
|
|
||||||
#include "integer.h"
|
#include <typedefs.h>
|
||||||
|
|
||||||
|
|
||||||
/* Status of Disk Functions */
|
/* Status of Disk Functions */
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "integer.h" /* Basic integer types */
|
#include <typedefs.h> /* Basic integer types */
|
||||||
#include "ffconf.h" /* FatFs configuration options */
|
#include "ffconf.h" /* FatFs configuration options */
|
||||||
|
|
||||||
#if _FATFS != _FFCONF
|
#if _FATFS != _FFCONF
|
||||||
|
|
|
@ -1,35 +0,0 @@
|
||||||
/*-------------------------------------------*/
|
|
||||||
/* Integer type definitions for FatFs module */
|
|
||||||
/*-------------------------------------------*/
|
|
||||||
|
|
||||||
#ifndef _FF_INTEGER
|
|
||||||
#define _FF_INTEGER
|
|
||||||
|
|
||||||
#if defined(_MSC_VER) && (_MSC_VER < 0x1700) /* Windows with older MSVC */
|
|
||||||
|
|
||||||
#include <windows.h>
|
|
||||||
#include <tchar.h>
|
|
||||||
|
|
||||||
#else /* Unixes */
|
|
||||||
|
|
||||||
#include <stdint.h>
|
|
||||||
|
|
||||||
/* This type MUST be 8 bit */
|
|
||||||
typedef uint8_t BYTE;
|
|
||||||
|
|
||||||
/* These types MUST be 16 bit */
|
|
||||||
typedef int16_t SHORT;
|
|
||||||
typedef uint16_t WORD;
|
|
||||||
typedef uint16_t WCHAR;
|
|
||||||
|
|
||||||
/* These types MUST be at least 16 bit */
|
|
||||||
typedef int_fast16_t INT;
|
|
||||||
typedef uint_fast16_t UINT;
|
|
||||||
|
|
||||||
/* These types MUST be 32 bit */
|
|
||||||
typedef int32_t LONG;
|
|
||||||
typedef uint32_t DWORD;
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
|
Loading…
Reference in a new issue