Skip to content

Commit

Permalink
e_os.h: limit _MSC_VER trickery to older compilers.
Browse files Browse the repository at this point in the history
PR: #3390
  • Loading branch information
Andy Polyakov committed Jul 2, 2014
1 parent eca441b commit aab3560
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions e_os.h
Original file line number Diff line number Diff line change
Expand Up @@ -311,15 +311,15 @@ static unsigned int _strlen31(const char *str)
# undef isxdigit
# endif
# if defined(_MSC_VER) && !defined(_WIN32_WCE) && !defined(_DLL) && defined(stdin)
# if _MSC_VER>=1300
# if _MSC_VER>=1300 && _MSC_VER<1600
# undef stdin
# undef stdout
# undef stderr
FILE *__iob_func();
# define stdin (&__iob_func()[0])
# define stdout (&__iob_func()[1])
# define stderr (&__iob_func()[2])
# elif defined(I_CAN_LIVE_WITH_LNK4049)
# elif _MSC_VER<1300 && defined(I_CAN_LIVE_WITH_LNK4049)
# undef stdin
# undef stdout
# undef stderr
Expand Down

0 comments on commit aab3560

Please sign in to comment.