From 34cb93dc1c1b24d3386d6cf709e1c768fe20767f Mon Sep 17 00:00:00 2001 From: gocha Date: Fri, 27 Jul 2012 10:47:09 +0900 Subject: [PATCH] win32: _tfwopen.h - removed xxxxA functions from non-UNICODE build, it was redundant. --- win32/_tfwopen.h | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/win32/_tfwopen.h b/win32/_tfwopen.h index ea1f4c1c..08a68cfa 100644 --- a/win32/_tfwopen.h +++ b/win32/_tfwopen.h @@ -176,11 +176,11 @@ +#ifdef UNICODE + #ifndef _TFWOPEN_H #define _TFWOPEN_H -#ifdef UNICODE - #include #include #include @@ -353,20 +353,6 @@ static __forceinline int open(const char *filename, int oflag, int pmode) { #define _makepath _twmakepath //#define strrchr _twcsrchr -#else - -#define fopenA fopen -#define openA open -#define _accessA _access -#define renameA rename -#define _unlinkA _unlink -#define _chdirA _chdir -#define _mkdirA _mkdir -#define _rmdirA _rmdir -#define _splitpathA _splitpath -#define _makepathA _makepath -//#define strrchrA strrchr +#endif // _TFWOPEN_H #endif - -#endif // _TFWOPEN_H