aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorhomeip.net!davidm <homeip.net!davidm>2004-08-19 10:45:23 +0000
committerhomeip.net!davidm <homeip.net!davidm>2004-08-19 10:45:23 +0000
commit78e2f938119aff9accce6e967388ade4f2f0d889 (patch)
tree06b952adc691fa9dafed5032b606cceee4ff6fd2 /include
parent14042ee648e75db47ac6f9628b86755953567cdf (diff)
downloadlibunwind-78e2f938119aff9accce6e967388ade4f2f0d889.tar.gz
(ALIAS): New macro.
(Logical change 1.246)
Diffstat (limited to 'include')
-rw-r--r--include/internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/internal.h b/include/internal.h
index 42ddd88a..73a11916 100644
--- a/include/internal.h
+++ b/include/internal.h
@@ -63,6 +63,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#ifdef __GNUC__
# define UNUSED __attribute__((unused))
# define NORETURN __attribute__((noreturn))
+# define ALIAS(name) __attribute__((alias (#name)))
# if (__GNUC__ > 3) || (__GNUC__ == 3 && __GNUC_MINOR__ > 2)
# define ALWAYS_INLINE __attribute__((always_inline))
# define HIDDEN __attribute__((visibility ("hidden")))
@@ -83,6 +84,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
# define ALWAYS_INLINE
# define UNUSED
# define NORETURN
+# define ALIAS(name)
# define HIDDEN
# define PROTECTED
# define likely(x) (x)