Added WIN32 definitions for popen (_popen) and pclose (_pclose) to accommodate the call to wget on Windows-based systems.

This commit is contained in:
Damien Stuart
2014-08-30 16:18:46 -04:00
parent 8cec7eaeee
commit 73186e511a
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -91,6 +91,8 @@
#define fdopen _fdopen
#define close _close
#define write _write
#define popen _popen
#define pclose _pclose
#define O_WRONLY _O_WRONLY
#define O_RDONLY _O_RDONLY
#define O_RDWR _O_RDWR
+1 -1
View File
@@ -178,7 +178,7 @@
#undef TIME_WITH_SYS_TIME
/* Version number of package */
#define VERSION "2.0"
#define VERSION "2.6.3"
/* Define to 1 if your processor stores words with the most significant byte
first (like Motorola and SPARC, unlike Intel and VAX). */