Kaydet (Commit) ee66d0c3 authored tarafından Tim Peters's avatar Tim Peters

/F revealed that ShellExecute() only requires shellapi.h, not the

full-blown windows.h, so changed accordingly.
üst 54ed2d32
......@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment