diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2011-02-06 15:17:46 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2011-02-06 15:17:46 +0000 |
commit | a95d2241851a4877189b11854f25ff65b6a2b411 (patch) | |
tree | 24a5dbe368c7d6f1db5205168183fb2e6cdf14ea /Projects/Incomplete/StandaloneProgrammer/Lib/PetiteFATFs/integer.h | |
parent | b1d75686512a55c73b117fae766945f31f26d913 (diff) | |
download | lufa-a95d2241851a4877189b11854f25ff65b6a2b411.tar.gz lufa-a95d2241851a4877189b11854f25ff65b6a2b411.tar.bz2 lufa-a95d2241851a4877189b11854f25ff65b6a2b411.zip |
Update projects using FatFS and PetiteFatFS to the latest library versions.
Diffstat (limited to 'Projects/Incomplete/StandaloneProgrammer/Lib/PetiteFATFs/integer.h')
-rw-r--r-- | Projects/Incomplete/StandaloneProgrammer/Lib/PetiteFATFs/integer.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Projects/Incomplete/StandaloneProgrammer/Lib/PetiteFATFs/integer.h b/Projects/Incomplete/StandaloneProgrammer/Lib/PetiteFATFs/integer.h index 5ecedd9a9..5408fe6b3 100644 --- a/Projects/Incomplete/StandaloneProgrammer/Lib/PetiteFATFs/integer.h +++ b/Projects/Incomplete/StandaloneProgrammer/Lib/PetiteFATFs/integer.h @@ -3,17 +3,21 @@ /*-------------------------------------------*/ #ifndef _INTEGER +#define _INTEGER + +#ifdef _WIN32 /* FatFs development platform */ -#if 0 #include <windows.h> -#else +#include <tchar.h> + +#else /* Embedded platform */ /* These types must be 16-bit, 32-bit or larger integer */ typedef int INT; typedef unsigned int UINT; /* These types must be 8-bit integer */ -typedef signed char CHAR; +typedef char CHAR; typedef unsigned char UCHAR; typedef unsigned char BYTE; @@ -28,11 +32,7 @@ typedef long LONG; typedef unsigned long ULONG; typedef unsigned long DWORD; -/* Boolean type */ -typedef enum { FALSE = 0, TRUE } BOOL; - #endif -#define _INTEGER #endif |