2009-09-04 Tristan Gingold <gingold@adacore.com>
[deliverable/binutils-gdb.git] / gas / as.h
index ba526dc4d812f4a4a4f18420a979dc7c1241c8f2..7366121b03a26806b84df4e9d1b4f19cbe74b296 100644 (file)
--- a/gas/as.h
+++ b/gas/as.h
@@ -106,9 +106,9 @@ typedef int * va_list;
 #undef NDEBUG
 #endif
 #if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 6)
-#define __PRETTY_FUNCTION__  ((char*)0)
+#define __PRETTY_FUNCTION__  ((char *) NULL)
 #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  */
This page took 0.024572 seconds and 4 git commands to generate.