From: Nikos Mavrogiannopoulos Date: Thu, 11 Dec 2014 18:03:28 +0000 (+0100) Subject: p11tool: use Sleep() in windows X-Git-Tag: gnutls_3_4_0~478 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00979410bd06ae9e24383bcaccfe2383f85fe076;p=thirdparty%2Fgnutls.git p11tool: use Sleep() in windows --- diff --git a/src/pkcs11.c b/src/pkcs11.c index 0b57aa3791..e6cb677778 100644 --- a/src/pkcs11.c +++ b/src/pkcs11.c @@ -34,6 +34,10 @@ #include #include +#ifdef _WIN32 +# define sleep(x) Sleep(x*1000) +#endif + static char *get_single_token_url(common_info_st * info);