opnsense-ports/security/cryptlib/files/patch-misc_os__spec.h
Franco Fichtner 9b89336f05 */*: sync with upstream
Taken from: FreeBSD
2023-03-20 15:33:21 +01:00

14 lines
613 B
C

--- misc/os_spec.h.orig 2021-09-11 19:27:14 UTC
+++ misc/os_spec.h
@@ -610,9 +610,8 @@ typedef int BOOLEAN_INT;
variants, this presumably extends to SH5 as well so we treat va_lists on
Super-H as scalars */
-#if defined( __GNUC__ )
- #if( defined( __ARM_EABI__ ) && \
- ( __GNUC__ == 4 && __GNUC_MINOR__ >= 4 ) || ( __GNUC__ > 4 ) )
+#if 1
+ #if defined( __ARM_EABI__ )
/* In theory we could check __ap but in practice it's too risky to rely
on the type and state of hidden internal fields, and in any case it's
only a sanity check, not a hard requirement, so we just no-op the