From 2b56c55a7672b2ac41b5e8180623b812a5b620fe Mon Sep 17 00:00:00 2001 From: Walter Bright Date: Sat, 6 Oct 2012 15:21:19 -0700 Subject: [PATCH] missing Win64 stuff --- src/core/stdc/stdio.d | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/stdc/stdio.d b/src/core/stdc/stdio.d index b3e0b602334..93e32c001de 100644 --- a/src/core/stdc/stdio.d +++ b/src/core/stdc/stdio.d @@ -327,6 +327,7 @@ else version( Win64 ) _IOSTRG = 0x40, // non-standard _IORW = 0x80, // non-standard _IOAPP = 0x200, // non-standard + _IOAPPEND = 0x200, // non-standard } extern shared void function() _fcloseallp; @@ -487,6 +488,7 @@ else version( Win64 ) pure void clearerr(FILE* stream) { stream._flag &= ~(_IOERR|_IOEOF); } pure int feof(FILE* stream) { return stream._flag&_IOEOF; } pure int ferror(FILE* stream) { return stream._flag&_IOERR; } + pure int fileno(FILE* stream) { return stream._file; } } int _snprintf(char* s, size_t n, in char* fmt, ...); alias _snprintf snprintf;