diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2020-10-04 12:50:58 +0200 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2020-11-18 12:50:26 +0100 |
commit | 9b5f96e465bc77baf36ab3deaf4a1f2e65884fed (patch) | |
tree | 2a7077a9e4a6882a4fd1e11e28f24fe5cac9c32a /NEWS | |
parent | a6bcad4a9e397fbddbfb00637b757c3ed2b250ce (diff) | |
download | php-git-9b5f96e465bc77baf36ab3deaf4a1f2e65884fed.tar.gz |
Fix inclusion order for phpize builds on Windows
`configure` for `phpize` builds on Windows creates Makefile and
config.pickle.h and includes the latter via the command line option
`/FI`. That implies that config.pickle.h is always included before
config.w32.h, which means that standard definitions always override
extension specific definitions, while it should be the other way round.
Therefore, we change the inclusion order by including config.pickle.h
at the end of config.w32.h if the former is available, and also make
sure to avoid any potential C4005 warnings by `#undef`ining the macros
before defining them.
Closes GH-6269.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -2,6 +2,9 @@ PHP NEWS ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ?? ??? ????, PHP 8.1.0alpha1 +- Core: + . Fixed inclusion order for phpize builds on Windows. (cmb) + - FTP: . Convert resource<ftp> to object \FTPConnection. (Sara) |