Mercurial > hg > xemacs-beta
diff src/intl-auto-encap-win32.c @ 1684:fba0799e2d79
[xemacs-hg @ 2003-09-15 20:21:44 by james]
Remove references to GetLongPathNameW since old Windows doesn't have it
and we aren't using it anyway.
author | james |
---|---|
date | Mon, 15 Sep 2003 20:21:47 +0000 |
parents | 184461bc8de4 |
children | ecf1ebac70d8 |
line wrap: on
line diff
--- a/src/intl-auto-encap-win32.c Mon Sep 15 15:24:57 2003 +0000 +++ b/src/intl-auto-encap-win32.c Mon Sep 15 20:21:47 2003 +0000 @@ -2571,14 +2571,7 @@ return GetShortPathNameA ((LPCSTR) lpszLongPath, (LPSTR) lpszShortPath, cchBuffer); } -DWORD -qxeGetLongPathName (const Extbyte * lpszShortPath, Extbyte * lpszLongPath, DWORD cchBuffer) -{ - if (XEUNICODE_P) - return GetLongPathNameW ((LPCWSTR) lpszShortPath, (LPWSTR) lpszLongPath, cchBuffer); - else - return GetLongPathNameA ((LPCSTR) lpszShortPath, (LPSTR) lpszLongPath, cchBuffer); -} +/* Error if GetLongPathName used: Win98/2K+ only */ /* Skipping GetEnvironmentStrings because misnamed ANSI version of the function */