mirror of
https://github.com/python/cpython.git
synced 2025-08-01 15:43:13 +00:00
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
This commit is contained in:
parent
acd0d6d416
commit
0e8bd7e1cc
26 changed files with 201 additions and 33 deletions
|
@ -4,9 +4,9 @@
|
|||
#include "Python.h"
|
||||
#include "structmember.h"
|
||||
|
||||
#ifndef DONT_HAVE_SYS_TYPES_H
|
||||
#ifdef HAVE_SYS_TYPES_H
|
||||
#include <sys/types.h>
|
||||
#endif /* DONT_HAVE_SYS_TYPES_H */
|
||||
#endif /* HAVE_SYS_TYPES_H */
|
||||
|
||||
#ifdef MS_WINDOWS
|
||||
#define fileno _fileno
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue