aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32.c
diff options
context:
space:
mode:
authorlsalzman <[email protected]>2013-08-09 09:41:57 +0300
committerlsalzman <[email protected]>2013-08-09 09:41:57 +0300
commit1658cf3a9527c47a76c79efbe477bbbe3350d847 (patch)
tree4168ad2c864857112114b8b317168be3097d0c53 /win32.c
parent4697a58d53ca1027a78f7f36a2544ad653e2aa09 (diff)
downloadenet-1658cf3a9527c47a76c79efbe477bbbe3350d847.tar.gz
enet-1658cf3a9527c47a76c79efbe477bbbe3350d847.zip
stub out enet_host_random_seed()
Diffstat (limited to 'win32.c')
-rw-r--r--win32.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/win32.c b/win32.c
index c7c514e..99b81aa 100644
--- a/win32.c
+++ b/win32.c
@@ -41,6 +41,12 @@ enet_deinitialize (void)
}
enet_uint32
+enet_host_random_seed (void)
+{
+ return (enet_uint32) timeGetTime ();
+}
+
+enet_uint32
enet_time_get (void)
{
return (enet_uint32) timeGetTime () - timeBase;