]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
tests: verify that GNUTLS_NONBLOCK is available as a definition
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Wed, 20 Jul 2016 11:31:18 +0000 (13:31 +0200)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Wed, 20 Jul 2016 11:31:26 +0000 (13:31 +0200)
tests/mini-tls-nonblock.c

index bfa1a0c23f5bbab1697ba7989e6e25f64dda2f45..2d47c27d6845668361c31fe93f1ae94c3126110a 100644 (file)
@@ -340,6 +340,10 @@ static void ch_handler(int sig)
        return;
 }
 
+#ifndef GNUTLS_NONBLOCK
+# error GNUTLS_NONBLOCK should have been defined
+#endif
+
 void doit(void)
 {
        signal(SIGCHLD, ch_handler);