Commit 6d47bab9 authored by Niels Möller's avatar Niels Möller
Browse files

* lib/desTest.c (now): Disable use of rusage.

Rev: src/symmetric/desTest.c:1.5
parent 9f77bb3a
...@@ -19,6 +19,11 @@ char desTest_cRcs[] = "$Id$"; ...@@ -19,6 +19,11 @@ char desTest_cRcs[] = "$Id$";
#include <sys/time.h> #include <sys/time.h>
#include <sys/resource.h> #include <sys/resource.h>
#include <unistd.h> #include <unistd.h>
#if 1
/* FIXME: Let autoconf look for getrusage */
#define now(w) 0;
#else /* false */
/* extern getrusage(); */ /* extern getrusage(); */
static struct rusage usage; static struct rusage usage;
#define now(w) ( \ #define now(w) ( \
...@@ -30,7 +35,8 @@ static struct rusage usage; ...@@ -30,7 +35,8 @@ static struct rusage usage;
#include <windows.h> #include <windows.h>
#define now(w) 0 #define now(w) 0
#endif #endif
#endif /* false */
/* test data /* test data
* the tests (key0-3, text0-3) are cribbed from code which is (c) 1988 MIT * the tests (key0-3, text0-3) are cribbed from code which is (c) 1988 MIT
*/ */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment