From: Nick Ing-Simmons Date: Thu, 31 May 2001 10:00:59 +0000 (+0000) Subject: Fix Win32 for new spelling IN_BYTES X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c8f3d7f86a0715a287438848383b60186963ea34;p=p5sagit%2Fp5-mst-13.2.git Fix Win32 for new spelling IN_BYTES p4raw-id: //depot/perlio@10344 --- diff --git a/win32/win32.h b/win32/win32.h index 05a568b..dea3f9f 100644 --- a/win32/win32.h +++ b/win32/win32.h @@ -466,12 +466,12 @@ struct interp_intern { /* Use CP_UTF8 when mode is UTF8 */ #define A2WHELPER_LEN(lpa, alen, lpw, nBytes)\ - (lpw[0] = 0, MultiByteToWideChar((IN_BYTE) ? CP_ACP : CP_UTF8, 0, \ + (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_BYTE) ? CP_ACP : CP_UTF8, 0, \ + (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)