summaryrefslogtreecommitdiff
path: root/PC
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 /PC
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 'PC')
-rw-r--r--PC/pyconfig.h47
1 files changed, 0 insertions, 47 deletions
diff --git a/PC/pyconfig.h b/PC/pyconfig.h
index 1463ee64dc..35f8778dbd 100644
--- a/PC/pyconfig.h
+++ b/PC/pyconfig.h
@@ -14,7 +14,6 @@ the following #defines
MS_WIN64 - Code specific to the MS Win64 API
MS_WIN32 - Code specific to the MS Win32 (and Win64) API (obsolete, this covers all supported APIs)
MS_WINDOWS - Code specific to Windows, but all versions.
-MS_WINCE - Code specific to Windows CE
Py_ENABLE_SHARED - Code if the Python core is built as a DLL.
Also note that neither "_M_IX86" or "_MSC_VER" should be used for
@@ -30,10 +29,6 @@ WIN32 is still required for the locale module.
*/
-#ifdef _WIN32_WCE
-#define MS_WINCE
-#endif
-
/* Deprecated USE_DL_EXPORT macro - please use Py_BUILD_CORE */
#ifdef USE_DL_EXPORT
# define Py_BUILD_CORE
@@ -53,8 +48,6 @@ WIN32 is still required for the locale module.
#define _CRT_NONSTDC_NO_DEPRECATE 1
#endif
-/* Windows CE does not have these */
-#ifndef MS_WINCE
#define HAVE_IO_H
#define HAVE_SYS_UTIME_H
#define HAVE_TEMPNAM
@@ -62,11 +55,8 @@ WIN32 is still required for the locale module.
#define HAVE_TMPNAM
#define HAVE_CLOCK
#define HAVE_STRERROR
-#endif
-#ifdef HAVE_IO_H
#include <io.h>
-#endif
#define HAVE_HYPOT
#define HAVE_STRFTIME
@@ -86,17 +76,6 @@ WIN32 is still required for the locale module.
#define USE_SOCKET
#endif
-/* CE6 doesn't have strdup() but _strdup(). Assume the same for earlier versions. */
-#if defined(MS_WINCE)
-# include <stdlib.h>
-# define strdup _strdup
-#endif
-
-#ifdef MS_WINCE
-/* Windows CE does not support environment variables */
-#define getenv(v) (NULL)
-#define environ (NULL)
-#endif
/* Compiler specific defines */
@@ -448,14 +427,10 @@ Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */
/* #define const */
/* Define to 1 if you have the <conio.h> header file. */
-#ifndef MS_WINCE
#define HAVE_CONIO_H 1
-#endif
/* Define to 1 if you have the <direct.h> header file. */
-#ifndef MS_WINCE
#define HAVE_DIRECT_H 1
-#endif
/* Define if you have dirent.h. */
/* #define DIRENT 1 */
@@ -528,9 +503,7 @@ Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */
/* #define HAVE_ALTZONE */
/* Define if you have the putenv function. */
-#ifndef MS_WINCE
#define HAVE_PUTENV
-#endif
/* Define if your compiler supports function prototypes */
#define HAVE_PROTOTYPES
@@ -558,9 +531,7 @@ Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */
#define HAVE_DYNAMIC_LOADING
/* Define if you have ftime. */
-#ifndef MS_WINCE
#define HAVE_FTIME
-#endif
/* Define if you have getpeername. */
#define HAVE_GETPEERNAME
@@ -569,9 +540,7 @@ Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */
/* #undef HAVE_GETPGRP */
/* Define if you have getpid. */
-#ifndef MS_WINCE
#define HAVE_GETPID
-#endif
/* Define if you have gettimeofday. */
/* #undef HAVE_GETTIMEOFDAY */
@@ -633,14 +602,10 @@ Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */
#endif
/* Define to 1 if you have the `wcscoll' function. */
-#ifndef MS_WINCE
#define HAVE_WCSCOLL 1
-#endif
/* Define to 1 if you have the `wcsxfrm' function. */
-#ifndef MS_WINCE
#define HAVE_WCSXFRM 1
-#endif
/* Define if the zlib library has inflateCopy */
#define HAVE_ZLIB_COPY 1
@@ -649,24 +614,16 @@ Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */
/* #undef HAVE_DLFCN_H */
/* Define to 1 if you have the <errno.h> header file. */
-#ifndef MS_WINCE
#define HAVE_ERRNO_H 1
-#endif
/* Define if you have the <fcntl.h> header file. */
-#ifndef MS_WINCE
#define HAVE_FCNTL_H 1
-#endif
/* Define to 1 if you have the <process.h> header file. */
-#ifndef MS_WINCE
#define HAVE_PROCESS_H 1
-#endif
/* Define to 1 if you have the <signal.h> header file. */
-#ifndef MS_WINCE
#define HAVE_SIGNAL_H 1
-#endif
/* Define if you have the <stdarg.h> prototypes. */
#define HAVE_STDARG_PROTOTYPES
@@ -684,9 +641,7 @@ Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */
/* #define HAVE_SYS_SELECT_H 1 */
/* Define to 1 if you have the <sys/stat.h> header file. */
-#ifndef MS_WINCE
#define HAVE_SYS_STAT_H 1
-#endif
/* Define if you have the <sys/time.h> header file. */
/* #define HAVE_SYS_TIME_H 1 */
@@ -695,9 +650,7 @@ Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */
/* #define HAVE_SYS_TIMES_H 1 */
/* Define to 1 if you have the <sys/types.h> header file. */
-#ifndef MS_WINCE
#define HAVE_SYS_TYPES_H 1
-#endif
/* Define if you have the <sys/un.h> header file. */
/* #define HAVE_SYS_UN_H 1 */