windows console fixes

This commit is contained in:
U-WIN-ENP104VVO3U\Vítor Santos Costa
2011-06-09 17:55:27 +01:00
parent a0748c7c10
commit 48284cfb44
10 changed files with 24 additions and 24 deletions

View File

@@ -2915,7 +2915,13 @@ Sfileno(IOSTREAM *s)
#ifdef __WINDOWS__
#include "windows/popen.c"
#ifdef popen
#undef popen
#endif
#define popen(cmd, how) pt_popen(cmd, how)
#ifdef pclose
#undef pclose
#endif
#define pclose(fd) pt_pclose(fd)
#endif