mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-15 08:41:59 +00:00
- Add popen/pclose macros for updaterevision on Windows.
This commit is contained in:
parent
e989e11f5c
commit
b9d5949825
1 changed files with 5 additions and 0 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue