diff options
author | NIIBE Yutaka <[email protected]> | 2023-05-11 04:06:30 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2023-05-11 04:06:30 +0000 |
commit | fb5d02d7660254d9b80aa64270f08f34693bed67 (patch) | |
tree | e7e231f7312beab05c8561531d0ee84dfe13e1cc /tests/pipeconnect.c | |
parent | w32: Fix test header file for 64-bit Windows. (diff) | |
download | libassuan-fb5d02d7660254d9b80aa64270f08f34693bed67.tar.gz libassuan-fb5d02d7660254d9b80aa64270f08f34693bed67.zip |
tests: Fix for POSIX machine.
* modified tests/pipeconnect.c (cmd_cat): Ifdef-out W32.
--
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'tests/pipeconnect.c')
-rw-r--r-- | tests/pipeconnect.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/pipeconnect.c b/tests/pipeconnect.c index 1ee4004..2c43e7e 100644 --- a/tests/pipeconnect.c +++ b/tests/pipeconnect.c @@ -58,7 +58,9 @@ cmd_echo (assuan_context_t ctx, char *line) static gpg_error_t cmd_cat (assuan_context_t ctx, char *line) { +#ifdef HAVE_W32_SYSTEM assuan_fd_t assuan_fdin, assuan_fdout; +#endif int fd, fdout; int c; FILE *fp, *fpout; |