Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
missing Win64 stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
WalterBright committed Oct 6, 2012
1 parent 50631f3 commit 2b56c55
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/stdc/stdio.d
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 2b56c55

Please sign in to comment.