diff options
author | Rich Salz <rsalz@akamai.com> | 2021-06-07 12:06:26 -0400 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2021-06-09 18:01:22 +1000 |
commit | f8ab78f6c2b5faee74c3056d237d418e2f53d6a8 (patch) | |
tree | 43e0bcd83137fa1526b7b2be9b8a9015d3cf8cb4 /e_os.h | |
parent | 1af9b646e87115e0bd4782a9326564c9bef63bda (diff) |
Remove I_CAN_LIVE_WITH_LNK4049
Fixes #9332
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15649)
Diffstat (limited to 'e_os.h')
-rw-r--r-- | e_os.h | 15 |
1 files changed, 0 insertions, 15 deletions
@@ -147,21 +147,6 @@ FILE *__iob_func(); # define stdin (&__iob_func()[0]) # define stdout (&__iob_func()[1]) # define stderr (&__iob_func()[2]) -# elif _MSC_VER<1300 && defined(I_CAN_LIVE_WITH_LNK4049) -# undef stdin -# undef stdout -# undef stderr - /* - * pre-1300 has __p__iob(), but it's available only in msvcrt.lib, - * or in other words with /MD. Declaring implicit import, i.e. with - * _imp_ prefix, works correctly with all compiler options, but - * without /MD results in LINK warning LNK4049: 'locally defined - * symbol "__iob" imported'. - */ -extern FILE *_imp___iob; -# define stdin (&_imp___iob[0]) -# define stdout (&_imp___iob[1]) -# define stderr (&_imp___iob[2]) # endif # endif # endif |