mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-13 08:53:20 +00:00
ICU-4396 Fix for Visual Studio 8
X-SVN-Rev: 17885
This commit is contained in:
parent
9117209a39
commit
a497b03cb3
1 changed files with 5 additions and 1 deletions
|
@ -54,7 +54,11 @@ u_finit(FILE *f,
|
|||
#ifdef U_WINDOWS
|
||||
if (0 <= result->fFileno && result->fFileno <= 2) {
|
||||
/* stdin, stdout and stderr need to be special cased for Windows 98 */
|
||||
result->fFile = &_iob[_fileno(f)];
|
||||
#if _MSC_VER >= 1400
|
||||
result->fFile = &__iob_func()[_fileno(f)];
|
||||
#else
|
||||
result->fFile = &_iob[_fileno(f)];
|
||||
#endif
|
||||
}
|
||||
else
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue