diff options
author | Steve Hay <steve.m.hay@googlemail.com> | 2017-02-19 13:33:37 +0000 |
---|---|---|
committer | Steve Hay <steve.m.hay@googlemail.com> | 2017-02-19 15:30:26 +0000 |
commit | 1f664ef5314fb6e438137c44c95cf5ecdbdb5e9b (patch) | |
tree | 0c788a9cfa8bc4f6e1561230cfaf8e85a421ab99 /perlio.c | |
parent | b3dc9cf3c7fae44f9823063eb1c1a3d593421b03 (diff) | |
download | perl-1f664ef5314fb6e438137c44c95cf5ecdbdb5e9b.tar.gz |
Add support for VS2015 (VC++ 14.0)
Due to the rewritten CRT in this version of Visual C++ it is no longer
possible (or at least not at all easy) to make use of the ioinfo struct,
which commit b47a847f62 (re-)introduced in order to fix RT#120091/118059.
Therefore, we effectively revert commit b47a847f62 for VS2015 onwards on
the basis that being able to build with VS2015 onwards is more important
than the RT#120091/118059 bug fix. This does unfortunately mean that perls
built with <=VS2013 will not be compatible with perls built with >=VS2015,
but they may well not have been compatible anyway because of the CRT
rewrite, and certainly wouldn't be compatible if perl builds with VS2015
were not supported!
See RT#125714 for more discussion about this.
Diffstat (limited to 'perlio.c')
-rw-r--r-- | perlio.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3231,7 +3231,7 @@ PerlIOStdio_invalidate_fileno(pTHX_ FILE *f) structure at all */ # else - f->_file = -1; + PERLIO_FILE_file(f) = -1; # endif return 1; # else |