projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54ed2d3
)
/F revealed that ShellExecute() only requires shellapi.h, not the
author
Tim Peters
<tim.peters@gmail.com>
Mon, 15 Jul 2002 16:10:55 +0000
(16:10 +0000)
committer
Tim Peters
<tim.peters@gmail.com>
Mon, 15 Jul 2002 16:10:55 +0000
(16:10 +0000)
full-blown windows.h, so changed accordingly.
Modules/posixmodule.c
patch
|
blob
|
history
diff --git
a/Modules/posixmodule.c
b/Modules/posixmodule.c
index 8a419c3ad809545adb028f161d33420db5a4733a..47bea6f9f92d85ce37b9e5d3089194975ce4f220 100644
(file)
--- a/
Modules/posixmodule.c
+++ b/
Modules/posixmodule.c
@@
-217,8
+217,9
@@
extern int lstat(const char *, struct stat *);
#include <io.h>
#include <process.h>
#include "osdefs.h"
-/* We don't want WIN32_LEAN_AND_MEAN here -- we need ShellExecute(). */
+#define WIN32_LEAN_AND_MEAN
#include <windows.h>
+#include <shellapi.h> /* for ShellExecute() */
#define popen _popen
#define pclose _pclose
#endif /* _MSC_VER */