From 41c01ba24e3f3cdbe58e023a46a0a7efb8835b34 Mon Sep 17 00:00:00 2001 From: Martin Fuchs Date: Fri, 8 Oct 2004 19:30:30 +0000 Subject: [PATCH] tchar.h svn path=/trunk/; revision=11230 --- reactos/subsys/system/winefile/winefile.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/reactos/subsys/system/winefile/winefile.h b/reactos/subsys/system/winefile/winefile.h index 7bd5160709e..94a0984b086 100644 --- a/reactos/subsys/system/winefile/winefile.h +++ b/reactos/subsys/system/winefile/winefile.h @@ -32,6 +32,7 @@ #define _UNICODE #include #endif +#include #include #include @@ -39,7 +40,6 @@ #include #include #include -#include #include #ifdef _MSC_VER @@ -139,3 +139,11 @@ typedef struct UINT cfStrFName; #endif } WINEFILE_GLOBALS; + +#ifdef __WINE__ +#ifdef UNICODE +extern void _wsplitpath(const WCHAR* path, WCHAR* drv, WCHAR* dir, WCHAR* name, WCHAR* ext); +#else +extern void _splitpath(const CHAR* path, CHAR* drv, CHAR* dir, CHAR* name, CHAR* ext); +#endif +#endif