mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Issue #27355: Removed support for Windows CE. It was never finished,
and Windows CE is no longer a relevant platform for Python.
This commit is contained in:
parent
8c21ab0ab9
commit
10108a7b9a
27 changed files with 28 additions and 1549 deletions
|
@ -2000,7 +2000,7 @@ sys_update_path(int argc, wchar_t **argv)
|
|||
#endif
|
||||
#if defined(HAVE_REALPATH)
|
||||
wchar_t fullpath[MAXPATHLEN];
|
||||
#elif defined(MS_WINDOWS) && !defined(MS_WINCE)
|
||||
#elif defined(MS_WINDOWS)
|
||||
wchar_t fullpath[MAX_PATH];
|
||||
#endif
|
||||
|
||||
|
@ -2039,10 +2039,8 @@ sys_update_path(int argc, wchar_t **argv)
|
|||
#if SEP == '\\' /* Special case for MS filename syntax */
|
||||
if (_HAVE_SCRIPT_ARGUMENT(argc, argv)) {
|
||||
wchar_t *q;
|
||||
#if defined(MS_WINDOWS) && !defined(MS_WINCE)
|
||||
/* This code here replaces the first element in argv with the full
|
||||
path that it represents. Under CE, there are no relative paths so
|
||||
the argument must be the full path anyway. */
|
||||
#if defined(MS_WINDOWS)
|
||||
/* Replace the first element in argv with the full path. */
|
||||
wchar_t *ptemp;
|
||||
if (GetFullPathNameW(argv0,
|
||||
Py_ARRAY_LENGTH(fullpath),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue