From 8ae3679aa1339ce9abee53adb69902bd6b7513dc Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 25 Jul 2016 10:31:04 +0000 Subject: hello, Unix. phase 1: removing _T() git-svn-id: http://svn.miranda-ng.org/main/trunk@17127 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- libs/zlib/src/ioapi.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'libs/zlib/src/ioapi.c') diff --git a/libs/zlib/src/ioapi.c b/libs/zlib/src/ioapi.c index e6ddc5cd2d..de9151aae5 100644 --- a/libs/zlib/src/ioapi.c +++ b/libs/zlib/src/ioapi.c @@ -94,13 +94,13 @@ static voidpf ZCALLBACK fopen_file_func(voidpf opaque, const TCHAR* filename, in FILE* file = NULL; const TCHAR* mode_fopen = NULL; if ((mode & ZLIB_FILEFUNC_MODE_READWRITEFILTER) == ZLIB_FILEFUNC_MODE_READ) - mode_fopen = _T("rb"); + mode_fopen = L"rb"; else if (mode & ZLIB_FILEFUNC_MODE_EXISTING) - mode_fopen = _T("r+b"); + mode_fopen = L"r+b"; else if (mode & ZLIB_FILEFUNC_MODE_CREATE) - mode_fopen = _T("wb"); + mode_fopen = L"wb"; if ((filename != NULL) && (mode_fopen != NULL)) file = _tfopen(filename, mode_fopen); @@ -112,13 +112,13 @@ static voidpf ZCALLBACK fopen64_file_func(voidpf opaque, const void* filename, i FILE* file = NULL; const TCHAR* mode_fopen = NULL; if ((mode & ZLIB_FILEFUNC_MODE_READWRITEFILTER) == ZLIB_FILEFUNC_MODE_READ) - mode_fopen = _T("rb"); + mode_fopen = L"rb"; else if (mode & ZLIB_FILEFUNC_MODE_EXISTING) - mode_fopen = _T("r+b"); + mode_fopen = L"r+b"; else if (mode & ZLIB_FILEFUNC_MODE_CREATE) - mode_fopen = _T("wb"); + mode_fopen = L"wb"; if ((filename != NULL) && (mode_fopen != NULL)) file = _tfopen((const TCHAR*)filename, mode_fopen); -- cgit v1.2.3