summaryrefslogtreecommitdiff
path: root/gas/as.h
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2009-09-03 12:54:21 +0000
committerTristan Gingold <gingold@adacore.com>2009-09-03 12:54:21 +0000
commit9a2aca72a908cd5d0585069fa4ee5630834b206a (patch)
treeaaffa9e537be62ed18ed69eb21b4fba6887112e4 /gas/as.h
parentb93385d00d83826854de8b8e05218009bbf360f2 (diff)
downloadbinutils-redhat-9a2aca72a908cd5d0585069fa4ee5630834b206a.tar.gz
2009-09-03 Tristan Gingold <gingold@adacore.com>
* as.h (__PRETTY_FUNCTION__): Use the same definition as bfd/libbfd.h.
Diffstat (limited to 'gas/as.h')
-rw-r--r--gas/as.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/as.h b/gas/as.h
index 9494cd46ef..7366121b03 100644
--- a/gas/as.h
+++ b/gas/as.h
@@ -106,7 +106,7 @@ 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 gas_assert(P) \
((void) ((P) ? 0 : (as_assert (__FILE__, __LINE__, __PRETTY_FUNCTION__), 0)))