Don't depend on undefined macros being 0, there are options for the

preprocessor to warn about it.

llvm-svn: 147466
This commit is contained in:
Joerg Sonnenberger 2012-01-03 19:22:38 +00:00
parent b982d8eb65
commit c2f91c37e8
1 changed files with 2 additions and 1 deletions

View File

@ -23,7 +23,8 @@
/* See "Data Definitions for libgcc_s" in the Linux Standard Base.*/
#if __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 1070
#if defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) && \
__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 1070
/* Starting in OS X Lion the SDK includes a unwind.h. We should just use it. */
#include_next <unwind.h>
#else