From 345d453e395dedbb8f148b10bc397e002f1aaa96 Mon Sep 17 00:00:00 2001 From: fcolin Date: Fri, 19 May 2006 10:33:30 +0000 Subject: portage WIN32 random => rand --- src/ivy.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/ivy.c') diff --git a/src/ivy.c b/src/ivy.c index 85db2bc..7ea05b0 100644 --- a/src/ivy.c +++ b/src/ivy.c @@ -7,8 +7,7 @@ * * Main functions * - * Authors: Francois-Regis Colin - * Stephane Chatty + * Authors: Francois-Regis Colin,Stephane Chatty * * $Id$ * @@ -551,8 +550,8 @@ static const char * GenApplicationUniqueIdentifier() static char appid[2048]; long curtime; curtime = currentTime(); - srandom( curtime ); - sprintf(appid,"%ld:%ld:%d",random(),curtime,ApplicationPort); + srand( curtime ); + sprintf(appid,"%ld:%ld:%d",rand(),curtime,ApplicationPort); return appid; } void IvyInit (const char *appname, const char *ready, -- cgit v1.1