Commit Graph

2 Commits

Author SHA1 Message Date
Wyatt Hepler
ac6cdf261e pw_polyfill: Provide the static_assert macro in C
In C11, assert.h is supposed to define static_assert as a convenience
alias for _Static_assert. Add a wrapper that defines static_assert if
the system header didn't.

Change-Id: Ibcc7d32517388fcb6284bb8b99fc96c76860b063
2020-01-24 23:06:23 +00:00
Wyatt Hepler
c542a5d6f7 pw_polyfill: Backports for C++11 and C++14
- The pw_polyfill module brings some C++17 features to C++11 and C++14.
- The module's overrides are added to the GN build to seamlessly
  support older C++ standards.

Change-Id: Icb29772073e681e1ef868561bdde56e629e9c0d9
2020-01-17 09:04:49 -08:00