From 73186e511ae226f4e5e1dae5638567ecea788fbc Mon Sep 17 00:00:00 2001 From: Damien Stuart Date: Sat, 30 Aug 2014 16:18:46 -0400 Subject: [PATCH] Added WIN32 definitions for popen (_popen) and pclose (_pclose) to accommodate the call to wget on Windows-based systems. --- common/common.h | 2 ++ win32/config.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/common/common.h b/common/common.h index 5f3007a8..86abe752 100644 --- a/common/common.h +++ b/common/common.h @@ -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 diff --git a/win32/config.h b/win32/config.h index 3fda1a18..86b6a9ff 100644 --- a/win32/config.h +++ b/win32/config.h @@ -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). */