diff Python/dynload_win.c @ 38716:42808526511c legacy-trunk

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
author Martin v. Löwis <martin@v.loewis.de>
date Sat, 10 Jun 2006 12:23:46 +0000
parents c1cef1d2dccf
children 06145fbc7ab9
line wrap: on
line diff
--- a/Python/dynload_win.c	Sat Jun 10 10:57:40 2006 +0000
+++ b/Python/dynload_win.c	Sat Jun 10 12:23:46 2006 +0000
@@ -2,7 +2,9 @@
 /* Support for dynamic loading of extension modules */
 
 #include <windows.h>
+#ifdef HAVE_DIRECT_H
 #include <direct.h>
+#endif
 #include <ctype.h>
 
 #include "Python.h"