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

full-blown windows.h, so changed accordingly.
This commit is contained in:
Tim Peters 2002-07-15 16:10:55 +00:00
parent 54ed2d32f9
commit ee66d0c3d5
1 changed files with 2 additions and 1 deletions

View File

@ -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 */