diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2006-06-10 12:23:46 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2006-06-10 12:23:46 (GMT) |
commit | 0e8bd7e1ccf7f47bc0bb920af899c77669016d3d (patch) | |
tree | a2724cb3463072f259b31175662d9a03ed02b4c3 /PC/os2vacpp | |
parent | acd0d6d4160c6b7f12d80807a4312f6f57338b4d (diff) | |
download | cpython-0e8bd7e1ccf7f47bc0bb920af899c77669016d3d.zip cpython-0e8bd7e1ccf7f47bc0bb920af899c77669016d3d.tar.gz cpython-0e8bd7e1ccf7f47bc0bb920af899c77669016d3d.tar.bz2 |
Patch #1495999: Part two of Windows CE changes.
- update header checks, using autoconf
- provide dummies for getenv, environ, and GetVersion
- adjust MSC_VER check in socketmodule.c
Diffstat (limited to 'PC/os2vacpp')
-rw-r--r-- | PC/os2vacpp/pyconfig.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/PC/os2vacpp/pyconfig.h b/PC/os2vacpp/pyconfig.h index c858fe9..97f9b80 100644 --- a/PC/os2vacpp/pyconfig.h +++ b/PC/os2vacpp/pyconfig.h @@ -112,6 +112,10 @@ typedef int pid_t; #define HAVE_HYPOT 1 /* hypot() */ #define HAVE_PUTENV 1 /* putenv() */ /* #define VA_LIST_IS_ARRAY 1 */ /* if va_list is an array of some kind */ +/* #define HAVE_CONIO_H 1 */ /* #include <conio.h> */ +#define HAVE_ERRNO_H 1 /* #include <errno.h> */ +#define HAVE_SYS_STAT_H 1 /* #include <sys/stat.h> */ +#define HAVE_SYS_TYPES_H 1 /* #include <sys/types.h> */ /* Variable-Arguments/Prototypes */ #define HAVE_PROTOTYPES 1 /* VAC++ supports C Function Prototypes */ @@ -124,6 +128,7 @@ typedef int pid_t; #define MALLOC_ZERO_RETURNS_NULL 1 /* Our malloc(0) returns a NULL ptr */ /* Signal Handling */ +#define HAVE_SIGNAL_H 1 /* signal.h */ #define RETSIGTYPE void /* Return type of handlers (int or void) */ /* #undef WANT_SIGFPE_HANDLER */ /* Handle SIGFPE (see Include/pyfpe.h) */ /* #define HAVE_ALARM 1 */ /* alarm() */ @@ -163,7 +168,9 @@ typedef int pid_t; #define HAVE_SETVBUF 1 /* setvbuf() */ #define HAVE_GETCWD 1 /* getcwd() */ #define HAVE_PIPE 1 /* pipe() [OS/2-specific code added] */ +#define HAVE_IO_H 1 /* #include <io.h> */ #define HAVE_FCNTL_H 1 /* #include <fcntl.h> */ +#define HAVE_DIRECT_H 1 /* #include <direct.h> */ /* #define HAVE_FLOCK 1 */ /* flock() */ /* #define HAVE_TRUNCATE 1 */ /* truncate() */ /* #define HAVE_FTRUNCATE 1 */ /* ftruncate() */ @@ -172,6 +179,7 @@ typedef int pid_t; /* #define HAVE_OPENDIR 1 */ /* opendir() */ /* Process Operations */ +#define HAVE_PROCESS_H 1 /* #include <process.h> */ #define HAVE_GETPID 1 /* getpid() */ #define HAVE_SYSTEM 1 /* system() */ #define HAVE_WAIT 1 /* wait() */ |