summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjsg <>2015-06-29 06:40:06 +0000
committerjsg <>2015-06-29 06:40:06 +0000
commit2a9a1731b76b595e191b19a5030aa4fb8288bbf1 (patch)
tree69d9d35cb53a9245be16c54dd8c3f793f8c8031e /src
parent1618490a96ac0f443d379bc3d4dcf04769edd0ce (diff)
downloadopenbsd-2a9a1731b76b595e191b19a5030aa4fb8288bbf1.tar.gz
openbsd-2a9a1731b76b595e191b19a5030aa4fb8288bbf1.tar.bz2
openbsd-2a9a1731b76b595e191b19a5030aa4fb8288bbf1.zip
fix the build on arm after the recent addition of -Wundef
ok doug@ deraadt@
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/arm_arch.h4
-rw-r--r--src/lib/libssl/src/crypto/arm_arch.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libcrypto/arm_arch.h b/src/lib/libcrypto/arm_arch.h
index 2ad95dc62a..3304be81ab 100644
--- a/src/lib/libcrypto/arm_arch.h
+++ b/src/lib/libcrypto/arm_arch.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: arm_arch.h,v 1.6 2014/12/07 15:37:27 miod Exp $ */ 1/* $OpenBSD: arm_arch.h,v 1.7 2015/06/29 06:40:06 jsg Exp $ */
2#ifndef __ARM_ARCH_H__ 2#ifndef __ARM_ARCH_H__
3#define __ARM_ARCH_H__ 3#define __ARM_ARCH_H__
4 4
@@ -38,7 +38,7 @@
38# endif 38# endif
39#endif 39#endif
40 40
41#if !__ASSEMBLER__ 41#if !defined(__ASSEMBLER__)
42extern unsigned int OPENSSL_armcap_P; 42extern unsigned int OPENSSL_armcap_P;
43 43
44#define ARMV7_NEON (1<<0) 44#define ARMV7_NEON (1<<0)
diff --git a/src/lib/libssl/src/crypto/arm_arch.h b/src/lib/libssl/src/crypto/arm_arch.h
index 2ad95dc62a..3304be81ab 100644
--- a/src/lib/libssl/src/crypto/arm_arch.h
+++ b/src/lib/libssl/src/crypto/arm_arch.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: arm_arch.h,v 1.6 2014/12/07 15:37:27 miod Exp $ */ 1/* $OpenBSD: arm_arch.h,v 1.7 2015/06/29 06:40:06 jsg Exp $ */
2#ifndef __ARM_ARCH_H__ 2#ifndef __ARM_ARCH_H__
3#define __ARM_ARCH_H__ 3#define __ARM_ARCH_H__
4 4
@@ -38,7 +38,7 @@
38# endif 38# endif
39#endif 39#endif
40 40
41#if !__ASSEMBLER__ 41#if !defined(__ASSEMBLER__)
42extern unsigned int OPENSSL_armcap_P; 42extern unsigned int OPENSSL_armcap_P;
43 43
44#define ARMV7_NEON (1<<0) 44#define ARMV7_NEON (1<<0)