Skip to content

Fix #79561: dns_get_record() fails with DNS_ALL#5524

Closed
cmb69 wants to merge 2 commits intophp:PHP-7.3from
cmb69:cmb/79561
Closed

Fix #79561: dns_get_record() fails with DNS_ALL#5524
cmb69 wants to merge 2 commits intophp:PHP-7.3from
cmb69:cmb/79561

Conversation

@cmb69
Copy link
Member

@cmb69 cmb69 commented May 4, 2020

Since Windows has its own definitions of the PHP_DNS_* macros, we
have to use these when registering the PHP constants.

Since Windows has its own definitions of the `PHP_DNS_*` macros, we
have to use these when registering the PHP constants.
Copy link
Member

@nikic nikic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is ugly, but seems fine for 7.3.

@cmb69 cmb69 added the Bug label May 4, 2020
@cmb69
Copy link
Member Author

cmb69 commented May 4, 2020

Yes, the whole dns(_win32).c should be improved ASAP.

Applied as c40a494. Thanks!

@cmb69 cmb69 closed this May 4, 2020
@cmb69 cmb69 deleted the cmb/79561 branch May 4, 2020 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants