Issue 1495999: Windows CE support (part 2) (original) (raw)
This patch contains some more changes necessary to build Python trunk for Windows CE 4.x. More patches to come...
The changes are:
Missing headers: conio.h, direct.h, errno.h, io.h, process.h, signal.h, sys/stat.h, sys/types.h
Change #ifndef DONT_HAVE_*H to HAVE*_H
Add #ifdef guards for many of the #includes for these headers
Add checks for headers to configure.in, pyconfig.h.in
Add HAVE_*_H to manually edited versions of pyconfig.h (except for Windows CE)
NOTE: the following are Windows-specific headers: conio.h, direct.h, io.h, process.h
define dummy macro implementations of getenv() and environ (Windows CE only)
define macro implementation of GetVersion() (Windows CE only)
Modules/socketmodule.c: adjusted _MSC_VER conditional