diff options
author | Jan Dubois <jand@activestate.com> | 2005-11-07 12:39:02 -0800 |
---|---|---|
committer | H.Merijn Brand <h.m.brand@xs4all.nl> | 2005-11-08 06:29:56 +0000 |
commit | 8c56068e9474ff1eb28abd58496550d54581dd25 (patch) | |
tree | a3dde0abf1319e8cc5242b46d08d77903fa1f427 /win32/win32.h | |
parent | 209e7cf1ea9df7467abe46e5e3bcef1f4e8c5847 (diff) | |
download | perl-8c56068e9474ff1eb28abd58496550d54581dd25.tar.gz |
Remove unused USING_WIDE code from win32 and wince branches
From: "Jan Dubois" <jand@ActiveState.com>
Message-ID: <078001c5e41e$585c4140$6401a8c0@candy>
p4raw-id: //depot/perl@26041
Diffstat (limited to 'win32/win32.h')
-rw-r--r-- | win32/win32.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/win32/win32.h b/win32/win32.h index 4c5dee681c..8f5b27d01e 100644 --- a/win32/win32.h +++ b/win32/win32.h @@ -427,22 +427,6 @@ DllExport int win32_async_check(pTHX); #define w32_use_showwindow (PL_sys_intern.thr_intern.Wuse_showwindow) #define w32_showwindow (PL_sys_intern.thr_intern.Wshowwindow) -/* UNICODE<>ANSI translation helpers */ -/* Use CP_ACP when mode is ANSI */ -/* Use CP_UTF8 when mode is UTF8 */ - -#define A2WHELPER_LEN(lpa, alen, lpw, nBytes)\ - (lpw[0] = 0, MultiByteToWideChar((IN_BYTES) ? CP_ACP : CP_UTF8, 0, \ - lpa, alen, lpw, (nBytes/sizeof(WCHAR)))) -#define A2WHELPER(lpa, lpw, nBytes) A2WHELPER_LEN(lpa, -1, lpw, nBytes) - -#define W2AHELPER_LEN(lpw, wlen, lpa, nChars)\ - (lpa[0] = '\0', WideCharToMultiByte((IN_BYTES) ? CP_ACP : CP_UTF8, 0, \ - lpw, wlen, (LPSTR)lpa, nChars,NULL,NULL)) -#define W2AHELPER(lpw, lpa, nChars) W2AHELPER_LEN(lpw, -1, lpa, nChars) - -#define USING_WIDE() (0) - #ifdef USE_ITHREADS # define PERL_WAIT_FOR_CHILDREN \ STMT_START { \ |