5c946f9c61
test/default contains only tests using the default primitives for a given operation. We need to add other tests as well.
19 lines
157 B
C
19 lines
157 B
C
|
|
#include <stdlib.h>
|
|
|
|
#ifdef _WIN32
|
|
|
|
static void
|
|
srandom(unsigned seed)
|
|
{
|
|
srand(seed);
|
|
}
|
|
|
|
static long
|
|
random(void)
|
|
{
|
|
return (long) rand();
|
|
}
|
|
|
|
#endif
|