]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
avoid struct sigaction in win32
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Sun, 2 Jun 2013 11:25:55 +0000 (13:25 +0200)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Sun, 2 Jun 2013 11:25:55 +0000 (13:25 +0200)
src/cli.c

index a7da6a4ea0fff93821e732e1787d1437dac7b124..3ff7417f26aca232209face609edcaea615bf66f 100644 (file)
--- a/src/cli.c
+++ b/src/cli.c
@@ -853,7 +853,9 @@ main (int argc, char **argv)
   int user_term = 0, retval = 0;
   socket_st hd;
   ssize_t bytes;
+#ifndef _WIN32
   struct sigaction new_action, old_action;
+#endif
 
   set_program_name (argv[0]);
   cmd_parser (argc, argv);