From b9d594982594a75f2cf7d03362f5695193532731 Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Mon, 24 Jun 2013 20:52:52 -0500 Subject: [PATCH] - Add popen/pclose macros for updaterevision on Windows. --- tools/updaterevision/updaterevision.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/updaterevision/updaterevision.c b/tools/updaterevision/updaterevision.c index 2ae5779173..da0337a61d 100644 --- a/tools/updaterevision/updaterevision.c +++ b/tools/updaterevision/updaterevision.c @@ -14,6 +14,11 @@ #include #include +#ifdef _WIN32 +#define popen _popen +#define pclose _pclose +#endif + // Used to strip newline characters from lines read by fgets. void stripnl(char *str) {