commit | 5c1f16d627f552ae34295ba3548646171948982a | [log] [tgz] |
---|---|---|
author | Wyatt Hepler <hepler@google.com> | Thu Jul 07 21:55:36 2022 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jul 07 21:55:36 2022 +0000 |
tree | 93d2cf9f4658c1c739ed31fc696ba31458414dc6 | |
parent | 0554214e774c372c934df4c4c8907b181d7ee7c2 [diff] |
pw_polyfill: Avoid using potentially undefined macro in PW_CONSTINIT Check if __GNUC__ is defined before using it in case the compiler does not define it. Change-Id: I79bf63eefe8ead6bffb140ac9f2abc0301edd7e1 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/101240 Pigweed-Auto-Submit: Wyatt Hepler <hepler@google.com> Reviewed-by: Anthony DiGirolamo <tonymd@google.com> Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/.