summaryrefslogtreecommitdiff
path: root/tests/mini-dtls-srtp.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2012-11-05 21:44:44 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2012-11-05 21:53:35 +0100
commit3fcb006e28f946fa73660c0dc6c844a76cbc0f84 (patch)
tree1cce039c9959ca0c8d5a5d8cd67582133eb9f453 /tests/mini-dtls-srtp.c
parentb47ec12f7ac7e08c4456ffa5cb513a408d8d962e (diff)
downloadgnutls-3fcb006e28f946fa73660c0dc6c844a76cbc0f84.tar.gz
Added conditional to disable DTLS-SRTP support.
Diffstat (limited to 'tests/mini-dtls-srtp.c')
-rw-r--r--tests/mini-dtls-srtp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/mini-dtls-srtp.c b/tests/mini-dtls-srtp.c
index 3a5878a592..11bf746275 100644
--- a/tests/mini-dtls-srtp.c
+++ b/tests/mini-dtls-srtp.c
@@ -27,10 +27,10 @@
#include <stdio.h>
#include <stdlib.h>
-#if defined(_WIN32)
+#if defined(_WIN32) || !defined(ENABLE_DTLS_SRTP)
int
-main ()
+main (int argc, char** argv)
{
exit (77);
}