summaryrefslogtreecommitdiffstats
path: root/freebsd/crypto/openssl/crypto/armcap.c
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/crypto/openssl/crypto/armcap.c')
-rw-r--r--freebsd/crypto/openssl/crypto/armcap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/freebsd/crypto/openssl/crypto/armcap.c b/freebsd/crypto/openssl/crypto/armcap.c
index 05f37497..824d5eea 100644
--- a/freebsd/crypto/openssl/crypto/armcap.c
+++ b/freebsd/crypto/openssl/crypto/armcap.c
@@ -9,6 +9,7 @@
#include "arm_arch.h"
+#if defined(__rtems__) && defined(__arm__)
unsigned int OPENSSL_armcap_P = 0;
#if __ARM_MAX_ARCH__<7
@@ -164,3 +165,4 @@ void OPENSSL_cpuid_setup(void)
sigprocmask(SIG_SETMASK, &oset, NULL);
}
#endif
+#endif /* __rtems__ */