mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 18:57:27 +02:00
Merge pull request #6488 from douzzer/20230608-linuxkm-__is_constexpr
20230608-linuxkm-__is_constexpr
This commit is contained in:
@ -199,6 +199,10 @@
|
||||
|
||||
_Pragma("GCC diagnostic pop");
|
||||
|
||||
/* avoid -Wpointer-arith, encountered when -DCONFIG_FORTIFY_SOURCE */
|
||||
#undef __is_constexpr
|
||||
#define __is_constexpr(x) __builtin_constant_p(x)
|
||||
|
||||
/* the kernel uses -std=c89, but not -pedantic, and makes full use of anon
|
||||
* structs/unions, so we should too.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user