summaryrefslogtreecommitdiff
path: root/win32/win32.h
diff options
context:
space:
mode:
authorNick Ing-Simmons <nik@tiuk.ti.com>2001-05-31 10:00:59 +0000
committerNick Ing-Simmons <nik@tiuk.ti.com>2001-05-31 10:00:59 +0000
commitc8f3d7f86a0715a287438848383b60186963ea34 (patch)
tree617febfaccfe9db26816284ff9a1561e0a3ca235 /win32/win32.h
parent2a1bc9556f83d7d12fdf8e64def31d3f8896b237 (diff)
downloadperl-c8f3d7f86a0715a287438848383b60186963ea34.tar.gz
Fix Win32 for new spelling IN_BYTES
p4raw-id: //depot/perlio@10344
Diffstat (limited to 'win32/win32.h')
-rw-r--r--win32/win32.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/win32/win32.h b/win32/win32.h
index 05a568b6e7..dea3f9f5f7 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)