Sha256: cb106fa8ac2d9a65943b8caa1587e9cf7edff82ff5879027288061ede8f21ae2

Contents?: true

Size: 157 Bytes

Versions: 11

Compression:

Stored size: 157 Bytes

Contents

#include <stdlib.h>

#ifdef _WIN32

static void
srandom(unsigned seed)
{
    srand(seed);
}

static long
random(void)
{
    return (long) rand();
}

#endif

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
rbnacl-libsodium-1.0.2 vendor/libsodium/test/quirks/windows/windows-quirks.h
rbnacl-libsodium-1.0.1 vendor/libsodium/test/quirks/windows/windows-quirks.h
rbnacl-libsodium-1.0.0 vendor/libsodium/test/quirks/windows/windows-quirks.h
rbnacl-libsodium-0.7.0 vendor/libsodium/test/quirks/windows/windows-quirks.h
rbnacl-libsodium-0.6.1 vendor/libsodium/test/quirks/windows/windows-quirks.h
rbnacl-libsodium-0.6.0 vendor/libsodium/test/quirks/windows/windows-quirks.h
rbnacl-libsodium-0.5.0.1 vendor/libsodium/test/quirks/windows/windows-quirks.h
rbnacl-libsodium-0.5.0.1.pre vendor/libsodium/test/quirks/windows/windows-quirks.h
rbnacl-libsodium-0.5.0 vendor/libsodium/test/quirks/windows/windows-quirks.h
rbnacl-libsodium-0.4.5 vendor/libsodium/test/quirks/windows/windows-quirks.h
rbnacl-libsodium-0.4.5a vendor/libsodium/test/quirks/windows/windows-quirks.h