- Add popen/pclose macros for updaterevision on Windows.

This commit is contained in:
Randy Heit 2013-06-24 20:52:52 -05:00
parent e989e11f5c
commit b9d5949825
1 changed files with 5 additions and 0 deletions

View File

@ -14,6 +14,11 @@
#include <ctype.h>
#include <errno.h>
#ifdef _WIN32
#define popen _popen
#define pclose _pclose
#endif
// Used to strip newline characters from lines read by fgets.
void stripnl(char *str)
{