summaryrefslogtreecommitdiff
path: root/conanfile.py
diff options
context:
space:
mode:
authorGravatar Augusto Righetto <aurighet@microsoft.com>2020-03-09 05:55:40 -0700
committerGravatar GitHub <noreply@github.com>2020-03-09 08:55:40 -0400
commit417ea99cbac80c85be9f52c8b482f15d47bee93e (patch)
tree5c79e1f2e5cb445a3a4116e0b31ed908ef3b8211 /conanfile.py
parent40a0e58eb39f327b14841eeccacd962340dbc57d (diff)
UWP doesn't allow reading regkeys (#594)
* UWP doesn't allow reading regkeys. Unfortunately, UWP also doesn't offer an API for returning nominal processor frequency at this moment. Other options would require apps depending on abseil-cpp to be packaged with extra manifest data or libraries for bridging platforms. This change pushes the unsupported APIs accessing the registry behind a define guard. This define guard makes GetNominalCPUFrequency to compile and run as usual on desktop, but it will return the value 1.0 on UWP Apps (Store). * Using WINAPI_FAMILY_PARTITION family of macros for detecting when building for UWP or Desktop. * Simplifying comment to please the lint tool.
Diffstat (limited to 'conanfile.py')
0 files changed, 0 insertions, 0 deletions