repo.or.cz
/
tomato.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
libsodium: Needed for Dnscrypto-proxy Release 1.3.0
[tomato.git]
/
release
/
src
/
router
/
libsodium
/
test
/
quirks
/
windows
/
windows-quirks.h
blob
11d82bf9b274164fd4883ab56108af0b5d415f53
1
2
#include <stdlib.h>
3
4
#ifdef _WIN32
5
6
static void
7
srandom
(
unsigned
seed
)
8
{
9
srand
(
seed
);
10
}
11
12
static long
13
random
(
void
)
14
{
15
return
(
long
)
rand
();
16
}
17
18
#endif