[Python-checkins] python/dist/src/Modules posixmodule.c,2.243,2.244

tim_one@users.sourceforge.net tim_one@users.sourceforge.net
2002年7月15日 09:10:57 -0700


Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv5833/python/Modules
Modified Files:
	posixmodule.c 
Log Message:
/F revealed that ShellExecute() only requires shellapi.h, not the
full-blown windows.h, so changed accordingly.
Index: posixmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/posixmodule.c,v
retrieving revision 2.243
retrieving revision 2.244
diff -C2 -d -r2.243 -r2.244
*** posixmodule.c	14 Jul 2002 23:28:16 -0000	2.243
--- posixmodule.c	15 Jul 2002 16:10:55 -0000	2.244
***************
*** 218,223 ****
 #include <process.h>
 #include "osdefs.h"
! /* We don't want WIN32_LEAN_AND_MEAN here -- we need ShellExecute(). */
 #include <windows.h>
 #define popen	_popen
 #define pclose	_pclose
--- 218,224 ----
 #include <process.h>
 #include "osdefs.h"
! #define WIN32_LEAN_AND_MEAN
 #include <windows.h>
+ #include <shellapi.h>	/* for ShellExecute() */
 #define popen	_popen
 #define pclose	_pclose

AltStyle によって変換されたページ (->オリジナル) /