Wed, 02 Nov 2022 11:39:23 +0100
disable posix code on windows in util_exec_command
libidav/utils.c | file | annotate | diff | comparison | revisions |
--- a/libidav/utils.c Wed Nov 02 11:34:49 2022 +0100 +++ b/libidav/utils.c Wed Nov 02 11:39:23 2022 +0100 @@ -1124,7 +1124,7 @@ #ifdef _WIN32 fprintf(stderr, "util_exec_command unsupported\n"); return NULL; -#endif +#else int pout[2]; if(pipe(pout)) { @@ -1168,6 +1168,7 @@ close(pout[0]); return ret; +#endif } char* util_hexstr(const unsigned char *data, size_t len) {