diff options
Diffstat (limited to 'lang/picoc/files/patch-cstdlib__stdio.c')
-rw-r--r-- | lang/picoc/files/patch-cstdlib__stdio.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lang/picoc/files/patch-cstdlib__stdio.c b/lang/picoc/files/patch-cstdlib__stdio.c index 69197e88ccf3..f11d1278e976 100644 --- a/lang/picoc/files/patch-cstdlib__stdio.c +++ b/lang/picoc/files/patch-cstdlib__stdio.c @@ -1,11 +1,11 @@ ---- ./cstdlib/stdio.c.orig 2011-02-21 06:22:13.000000000 +0100 -+++ ./cstdlib/stdio.c 2011-03-11 08:08:19.710970864 +0100 -@@ -414,7 +414,7 @@ - +--- cstdlib/stdio.c.orig 2017-03-22 14:37:13.263703000 -0700 ++++ cstdlib/stdio.c 2017-03-22 14:41:07.228360000 -0700 +@@ -428,7 +428,7 @@ void StdioFileno(struct ParseState *Parser, struct Value *ReturnValue, struct Value **Param, int NumArgs) { + #ifndef WIN32 - ReturnValue->Val->Integer = fileno(Param[0]->Val->Pointer); + ReturnValue->Val->Integer = fileno((FILE *)Param[0]->Val->Pointer); - } - - void StdioFflush(struct ParseState *Parser, struct Value *ReturnValue, struct Value **Param, int NumArgs) + #else + ReturnValue->Val->Integer = _fileno(Param[0]->Val->Pointer); + #endif |