summaryrefslogtreecommitdiff
path: root/Python/sysmodule.c
diff options
context:
space:
mode:
authorLarry Hastings <larry@hastings.org>2016-09-05 15:11:23 -0700
committerLarry Hastings <larry@hastings.org>2016-09-05 15:11:23 -0700
commitbb0ec1fc07628252f17d66a58a4a4b3654e571c3 (patch)
treeb270fab5c2e6371e1f73346e79fdd046f93598de /Python/sysmodule.c
parenteef0808012356b625e5a55dd635378b18f6c200c (diff)
downloadcpython-bb0ec1fc07628252f17d66a58a4a4b3654e571c3.tar.gz
Issue #27355: Removed support for Windows CE. It was never finished,
and Windows CE is no longer a relevant platform for Python.
Diffstat (limited to 'Python/sysmodule.c')
-rw-r--r--Python/sysmodule.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c
index c170bd5889..a54f266030 100644
--- a/Python/sysmodule.c
+++ b/Python/sysmodule.c
@@ -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),