aboutsummaryrefslogtreecommitdiff
path: root/gas/as.h
diff options
context:
space:
mode:
Diffstat (limited to 'gas/as.h')
-rw-r--r--gas/as.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/as.h b/gas/as.h
index ba526dc..9494cd4 100644
--- a/gas/as.h
+++ b/gas/as.h
@@ -108,7 +108,7 @@ typedef int * va_list;
#if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 6)
#define __PRETTY_FUNCTION__ ((char*)0)
#endif
-#define assert(P) \
+#define gas_assert(P) \
((void) ((P) ? 0 : (as_assert (__FILE__, __LINE__, __PRETTY_FUNCTION__), 0)))
#undef abort
#define abort() as_abort (__FILE__, __LINE__, __PRETTY_FUNCTION__)
@@ -235,7 +235,7 @@ typedef addressT valueT;
#if ENABLE_CHECKING || defined (DEBUG)
#ifndef know
-#define know(p) assert(p) /* Verify our assumptions! */
+#define know(p) gas_assert(p) /* Verify our assumptions! */
#endif /* not yet defined */
#else
#define know(p) /* know() checks are no-op.ed */