summaryrefslogtreecommitdiff
path: root/win32/perlhost.h
diff options
context:
space:
mode:
authorJan Dubois <jand@activestate.com>2005-11-07 12:39:02 -0800
committerH.Merijn Brand <h.m.brand@xs4all.nl>2005-11-08 06:29:56 +0000
commit8c56068e9474ff1eb28abd58496550d54581dd25 (patch)
treea3dde0abf1319e8cc5242b46d08d77903fa1f427 /win32/perlhost.h
parent209e7cf1ea9df7467abe46e5e3bcef1f4e8c5847 (diff)
downloadperl-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/perlhost.h')
-rw-r--r--win32/perlhost.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/win32/perlhost.h b/win32/perlhost.h
index 24ed2b79ee..92d575795c 100644
--- a/win32/perlhost.h
+++ b/win32/perlhost.h
@@ -2414,13 +2414,7 @@ CPerlHost::Chdir(const char *dirname)
errno = ENOENT;
return -1;
}
- if (USING_WIDE()) {
- WCHAR wBuffer[MAX_PATH];
- A2WHELPER(dirname, wBuffer, sizeof(wBuffer));
- ret = m_pvDir->SetCurrentDirectoryW(wBuffer);
- }
- else
- ret = m_pvDir->SetCurrentDirectoryA((char*)dirname);
+ ret = m_pvDir->SetCurrentDirectoryA((char*)dirname);
if(ret < 0) {
errno = ENOENT;
}