summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Kledzik <kledzik@apple.com>2013-11-01 00:32:26 +0000
committerNick Kledzik <kledzik@apple.com>2013-11-01 00:32:26 +0000
commit29180116e559ead2486c5cf6b4fefe8a6f6443fc (patch)
treeeaf6b8c0703b492cbba56bb6c9b693159d9e06f4
parent061240c142debbe643c5ce78673f019f1c953511 (diff)
downloadlibcxxabi_35a-29180116e559ead2486c5cf6b4fefe8a6f6443fc.tar.gz
Rename LIBUNWIND_AVAIL to LIBUNWIND_UNAVAIL so as to not conflict with other (different) LIBUNWIND_AVAIL define
git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@193839 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/unwind.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/include/unwind.h b/include/unwind.h
index 4372dca..c5acd93 100644
--- a/include/unwind.h
+++ b/include/unwind.h
@@ -18,9 +18,9 @@
#include <stddef.h>
#if defined(__APPLE__)
-#define LIBUNWIND_AVAIL __attribute__ (( unavailable ))
+#define LIBUNWIND_UNAVAIL __attribute__ (( unavailable ))
#else
-#define LIBUNWIND_AVAIL
+#define LIBUNWIND_UNAVAIL
#endif
typedef enum {
@@ -187,28 +187,28 @@ extern void *_Unwind_FindEnclosingFunction(void *pc);
// Mac OS X does not support text-rel and data-rel addressing so these functions
// are unimplemented
extern uintptr_t _Unwind_GetDataRelBase(struct _Unwind_Context *context)
- LIBUNWIND_AVAIL;
+ LIBUNWIND_UNAVAIL;
extern uintptr_t _Unwind_GetTextRelBase(struct _Unwind_Context *context)
- LIBUNWIND_AVAIL;
+ LIBUNWIND_UNAVAIL;
// Mac OS X 10.4 and 10.5 had implementations of these functions in
// libgcc_s.dylib, but they never worked.
/// These functions are no longer available on Mac OS X.
extern void __register_frame_info_bases(const void *fde, void *ob, void *tb,
- void *db) LIBUNWIND_AVAIL;
+ void *db) LIBUNWIND_UNAVAIL;
extern void __register_frame_info(const void *fde, void *ob)
- LIBUNWIND_AVAIL;
+ LIBUNWIND_UNAVAIL;
extern void __register_frame_info_table_bases(const void *fde, void *ob,
void *tb, void *db)
- LIBUNWIND_AVAIL;
+ LIBUNWIND_UNAVAIL;
extern void __register_frame_info_table(const void *fde, void *ob)
- LIBUNWIND_AVAIL;
+ LIBUNWIND_UNAVAIL;
extern void __register_frame_table(const void *fde)
- LIBUNWIND_AVAIL;
+ LIBUNWIND_UNAVAIL;
extern void *__deregister_frame_info(const void *fde)
- LIBUNWIND_AVAIL;
+ LIBUNWIND_UNAVAIL;
extern void *__deregister_frame_info_bases(const void *fde)
- LIBUNWIND_AVAIL;
+ LIBUNWIND_UNAVAIL;
#ifdef __cplusplus
}