提交 9135fddb 编写于 作者: A Andy Polyakov

Revive app_tminterval for Netware.

上级 d88fcf73
...@@ -2424,6 +2424,28 @@ double app_tminterval(int stop,int usertime) ...@@ -2424,6 +2424,28 @@ double app_tminterval(int stop,int usertime)
return (ret); return (ret);
} }
#elif defined(OPENSSL_SYSTEM_NETWARE)
#include <time.h>
double app_tminterval(int stop,int usertime)
{
double ret=0;
static clock_t tmstart;
static int warning=1;
if (usertime && warning)
{
BIO_printf(bio_err,"To get meaningful results, run "
"this program on idle system.\n");
warning=0;
}
if (stop==TM_START) tmstart = clock();
else ret = (clock()-tmstart)/(double)CLOCKS_PER_SEC;
return (ret);
}
#elif defined(OPENSSL_SYSTEM_VXWORKS) #elif defined(OPENSSL_SYSTEM_VXWORKS)
#include <time.h> #include <time.h>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册