Added WIN32 definitions for popen (_popen) and pclose (_pclose) to accommodate the call to wget on Windows-based systems.
This commit is contained in:
@@ -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
@@ -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). */
|
||||
|
||||
Reference in New Issue
Block a user