pda
[deliverable/binutils-gdb.git] / gas / as.h
index ba526dc4d812f4a4a4f18420a979dc7c1241c8f2..1d1d97e5a06c0029bf0ef7fba16b37ff97b9a108 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,10 +235,10 @@ 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  */
+#define know(p)        do {} while (0) /* know() checks are no-op.ed  */
 #endif
 \f
 /* input_scrub.c */
This page took 0.023222 seconds and 4 git commands to generate.