summaryrefslogtreecommitdiffstats
path: root/freebsd/crypto/openssl/crypto/arm_arch.h
diff options
context:
space:
mode:
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