summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2006-06-10 12:23:46 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2006-06-10 12:23:46 (GMT)
commit0e8bd7e1ccf7f47bc0bb920af899c77669016d3d (patch)
treea2724cb3463072f259b31175662d9a03ed02b4c3 /Objects
parentacd0d6d4160c6b7f12d80807a4312f6f57338b4d (diff)
downloadcpython-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 'Objects')
-rw-r--r--Objects/fileobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/fileobject.c b/Objects/fileobject.c
index 5e7f461..2b37e74 100644
--- a/Objects/fileobject.c
+++ b/Objects/fileobject.c
@@ -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