ICU-4396 Fix for Visual Studio 8

X-SVN-Rev: 17885
This commit is contained in:
George Rhoten 2005-06-14 05:44:35 +00:00
parent 9117209a39
commit a497b03cb3

View File

@ -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