windefs: srandom() and random() for windows.
authorGurucharan Shetty <gshetty@nicira.com>
Fri, 14 Mar 2014 14:32:08 +0000 (07:32 -0700)
committerGurucharan Shetty <gshetty@nicira.com>
Mon, 17 Mar 2014 21:20:49 +0000 (14:20 -0700)
commitbbaf134dcfe307ddb2ca660209370a69c3e5697f
tree8b9603be7954d6085d8cc0eacdd3b59f7f83775a
parentf062911fe35374744a8753700a6fb5776bc3ef92
windefs: srandom() and random() for windows.

Windows does not have a srandom() and random(). But it does
have a srand() and rand(). We use these functions in sflow code.

Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
include/windows/windefs.h