-
Notifications
You must be signed in to change notification settings - Fork 1.2k
osx: fix osx binary backward compatibility #4396
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
osx: fix osx binary backward compatibility #4396
Conversation
|
Please help CR and merge. |
|
Release 1.7 branch is broken / failing on Windows with the error below; This error is unrelated to what this PR does (xplat only). Any idea on this? |
|
@dotnet-bot test Windows 7 ci_dev12_x64_debug please |
pal/src/misc/time.cpp
Outdated
| // The `__APPLE__` below is unlikely. However, if osx future version | ||
| // supports one of the clock types below, we may miss that and | ||
| // break backward compatibility. | ||
| #if !defined(__APPLE__) && HAVE_CLOCK_MONOTONIC_COARSE || HAVE_CLOCK_MONOTONIC |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please put parens around this like #if !define (__APPLE__) && (HAVE_CLOCK_MONOTONIC_COARSE || HAVE_CLOCK_MONOTONIC) because I can never remember which boolean operators have stronger precedence.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
|
@MSLaguana do we track that issue? |
|
This is the first I heard about that test being flaky, but considering it succeeded on re-run it seems that's the case. |
e4724d1 to
9368f90
Compare
|
@MSLaguana updated the PR, thanks for the review. |
Fixes #4393