summaryrefslogtreecommitdiffstats
path: root/freebsd/crypto/openssl/crypto/arm_arch.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-08-23 10:54:04 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-08-23 10:54:49 +0200
commit885ac75710f810ea766491304b2c511816c26479 (patch)
treeb0c9bb14ee41b873e31f796d93b0b9ef2395fb4c /freebsd/crypto/openssl/crypto/arm_arch.h
parentRemove strtoimax() and strtoumax() (diff)
downloadrtems-libbsd-885ac75710f810ea766491304b2c511816c26479.tar.bz2
openssl: Workaround for ARM-specific files
Update #3110.
Diffstat (limited to 'freebsd/crypto/openssl/crypto/arm_arch.h')
-rw-r--r--freebsd/crypto/openssl/crypto/arm_arch.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/freebsd/crypto/openssl/crypto/arm_arch.h b/freebsd/crypto/openssl/crypto/arm_arch.h
index 9d6e5888..b84bfc46 100644
--- a/freebsd/crypto/openssl/crypto/arm_arch.h
+++ b/freebsd/crypto/openssl/crypto/arm_arch.h
@@ -1,6 +1,7 @@
#ifndef __ARM_ARCH_H__
# define __ARM_ARCH_H__
+#if defined(__rtems__) && defined(__arm__)
# if !defined(__ARM_ARCH__)
# if defined(__CC_ARM)
# define __ARM_ARCH__ __TARGET_ARCH_ARM
@@ -75,4 +76,5 @@ extern unsigned int OPENSSL_armcap_P;
# define ARMV8_SHA256 (1<<4)
# define ARMV8_PMULL (1<<5)
+#endif /* __rtems__ */
#endif