aboutsummaryrefslogtreecommitdiff
path: root/gprof
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1993-04-26 19:59:24 +0000
committerIan Lance Taylor <ian@airs.com>1993-04-26 19:59:24 +0000
commit7508b715dfa81fed4eaa6bbb084f876add6f418a (patch)
tree947e929b23ebfb22ad58530e3120333b861012b6 /gprof
parent8739c727bd4ccc176da22e5bda3c053a211d189c (diff)
downloadgdb-7508b715dfa81fed4eaa6bbb084f876add6f418a.zip
gdb-7508b715dfa81fed4eaa6bbb084f876add6f418a.tar.gz
gdb-7508b715dfa81fed4eaa6bbb084f876add6f418a.tar.bz2
* gprof.h: Undefine hz.
Diffstat (limited to 'gprof')
-rw-r--r--gprof/ChangeLog2
-rw-r--r--gprof/gprof.h3
2 files changed, 4 insertions, 1 deletions
diff --git a/gprof/ChangeLog b/gprof/ChangeLog
index ae0c7a5..f9138a7 100644
--- a/gprof/ChangeLog
+++ b/gprof/ChangeLog
@@ -1,6 +1,6 @@
Mon Apr 26 12:37:46 1993 Ian Lance Taylor (ian@cygnus.com)
- * gprof.h: Include ansidecl.h before sysdep.h.
+ * gprof.h: Include ansidecl.h before sysdep.h. Undefine hz.
Tue Apr 13 16:14:03 1993 Per Bothner (bothner@cygnus.com)
diff --git a/gprof/gprof.h b/gprof/gprof.h
index 838f960..8431a9d 100644
--- a/gprof/gprof.h
+++ b/gprof/gprof.h
@@ -24,6 +24,9 @@
#include "bfd.h"
#include "gmon.h"
+/* AIX defines hz as a macro. */
+#undef hz
+
#ifdef MACHINE_H
# include MACHINE_H
#else