From 936c8ea07fa648c95feb17cd3aff15b00c705cdc Mon Sep 17 00:00:00 2001 From: "zik.saleeba" Date: Sun, 1 Mar 2009 21:25:40 +0000 Subject: [PATCH] Now works under cygwin git-svn-id: http://picoc.googlecode.com/svn/trunk@137 21eae674-98b7-11dd-bd71-f92a316d2d60 --- platform_library.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform_library.c b/platform_library.c index 9702cab..1158948 100644 --- a/platform_library.c +++ b/platform_library.c @@ -13,7 +13,7 @@ void PrintInteger(struct ParseState *Parser, struct Value *ReturnValue, struct V #ifdef UNIX_HOST void Random(struct ParseState *Parser, struct Value *ReturnValue, struct Value **Param, int NumArgs) { - ReturnValue->Val->Integer = random(); + ReturnValue->Val->Integer = rand(); } #endif