ports/security/cryptlib/files/patch-misc_os_spec.h
Alex Dupre 8bda21fcf1 Update to 3.4.3 release.
PR:		215983
Submitted by:	Yuri Victorovich <yuri@rawbw.com>
2017-01-12 09:16:11 +00:00

23 lines
1,010 B
C

--- misc/os_spec.h.orig 2016-03-25 02:49:10.000000000 +0100
+++ misc/os_spec.h 2017-01-12 10:03:32.170180000 +0100
@@ -761,9 +761,8 @@
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
@@ -839,7 +838,7 @@
#if defined( __WINDOWS__ ) || \
( defined( __UNIX__ ) && \
- ( ( defined( sun ) && OSVERSION > 4 ) || defined( __linux__ ) || \
+ ( ( defined( sun ) && OSVERSION > 4 ) || defined( __linux__ ) || defined(__FreeBSD__) || \
defined( _AIX ) || ( defined( __APPLE__ ) && !defined( __MAC__ ) ) ) ) || \
defined( __ANDROID__ )
#define DYNAMIC_LOAD