Skip to content

Fix potentially erroneous php_win32_crt_compatible() #16374

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 12, 2024

Conversation

cmb69
Copy link
Member

@cmb69 cmb69 commented Oct 11, 2024

Whether we link with a debug runtime or a normal runtime is not really related to PHP_DEBUG, but rather to _DEBUG[1].

We also stop defining that flag, since the compiler already does that.

[1] https://learn.microsoft.com/en-us/cpp/c-runtime-library/debug

Whether we link with a debug runtime or a normal runtime is not really
related to `PHP_DEBUG`, but rather to `_DEBUG`[1].

We also stop defining that flag, since the compiler already does that.

[1] <https://learn.microsoft.com/en-us/cpp/c-runtime-library/debug>
Copy link
Member

@Girgias Girgias left a comment

Choose a reason for hiding this comment

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

Makes sense to me

@cmb69 cmb69 merged commit 9402121 into php:master Oct 12, 2024
9 of 10 checks passed
@cmb69 cmb69 deleted the cmb/_debug branch October 12, 2024 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants