Now works under cygwin

git-svn-id: http://picoc.googlecode.com/svn/trunk@137 21eae674-98b7-11dd-bd71-f92a316d2d60
This commit is contained in:
zik.saleeba 2009-03-01 21:25:40 +00:00
parent 1940dd496f
commit 936c8ea07f

View file

@ -13,7 +13,7 @@ void PrintInteger(struct ParseState *Parser, struct Value *ReturnValue, struct V
#ifdef UNIX_HOST #ifdef UNIX_HOST
void Random(struct ParseState *Parser, struct Value *ReturnValue, struct Value **Param, int NumArgs) void Random(struct ParseState *Parser, struct Value *ReturnValue, struct Value **Param, int NumArgs)
{ {
ReturnValue->Val->Integer = random(); ReturnValue->Val->Integer = rand();
} }
#endif #endif