Added defines for popen and pclose, for SSI under Win32

This commit is contained in:
Sergey Lyubka 2014-03-02 18:50:02 +00:00
parent a9da86d05c
commit 66ec3d1f1e

View File

@ -985,6 +985,8 @@ void ns_server_free(struct ns_server *s) {
#define fopen(x, y) mg_fopen((x), (y))
#define open(x, y) mg_open((x), (y))
#define lseek(x, y, z) _lseeki64((x), (y), (z))
#define popen(x, y) _popen((x), (y))
#define pclose(x) _pclose(x)
#define mkdir(x, y) _mkdir(x)
#define to64(x) _atoi64(x)
#ifndef __func__