unwind: clean up straggling -Wundef warning

Conservatively define __ARM_ARCH to 4 in the case that it is undefined (e.g.
with GCC).

llvm-svn: 228806
This commit is contained in:
Saleem Abdulrasool 2015-02-11 05:20:44 +00:00
parent b5c3e56b38
commit 7ebbcd968b
1 changed files with 4 additions and 0 deletions

View File

@ -62,6 +62,10 @@
SYMBOL_NAME(name):
#if defined(__arm__)
#if !defined(__ARM_ARCH)
#define __ARM_ARCH 4
#endif
#if defined(__ARM_ARCH_4T__) || __ARM_ARCH >= 5
#define ARM_HAS_BX
#endif