mirror of https://github.com/python/cpython
Issue #4895: Use _strdup on Windows CE.
This commit is contained in:
parent
b3b7d859b3
commit
eefda27e97
|
@ -297,6 +297,8 @@ Tools/Demos
|
||||||
Build
|
Build
|
||||||
-----
|
-----
|
||||||
|
|
||||||
|
- Issue #4895: Use _strdup on Windows CE.
|
||||||
|
|
||||||
- Issue #4472: "configure --enable-shared" now works on OSX
|
- Issue #4472: "configure --enable-shared" now works on OSX
|
||||||
|
|
||||||
- Issues #4728 and #4060: WORDS_BIGEDIAN is now correct in Universal builds.
|
- Issues #4728 and #4060: WORDS_BIGEDIAN is now correct in Universal builds.
|
||||||
|
|
|
@ -88,6 +88,12 @@ WIN32 is still required for the locale module.
|
||||||
#define USE_SOCKET
|
#define USE_SOCKET
|
||||||
#endif
|
#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
|
#ifdef MS_WINCE
|
||||||
/* Python uses GetVersion() to distinguish between
|
/* Python uses GetVersion() to distinguish between
|
||||||
* Windows NT and 9x/ME where OS Unicode support is concerned.
|
* Windows NT and 9x/ME where OS Unicode support is concerned.
|
||||||
|
|
Loading…
Reference in New Issue