* 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:
David Quintana 2015-09-08 10:26:12 +00:00
parent 33f46109ab
commit 2347d1a709
3 changed files with 2 additions and 37 deletions

View file

@ -12,7 +12,7 @@ extern "C" {
#define _USE_WRITE 1 /* 1: Enable disk_write function */
#define _USE_IOCTL 1 /* 1: Enable disk_ioctl fucntion */
#include "integer.h"
#include <typedefs.h>
/* Status of Disk Functions */

View file

@ -21,7 +21,7 @@
extern "C" {
#endif
#include "integer.h" /* Basic integer types */
#include <typedefs.h> /* Basic integer types */
#include "ffconf.h" /* FatFs configuration options */
#if _FATFS != _FFCONF

View file

@ -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