1999-09-29 Mark Kettenis <kettenis@gnu.org>
authorPhil Blundell <philb@gnu.org>
Sun, 26 Mar 2000 12:31:16 +0000 (12:31 +0000)
committerPhil Blundell <philb@gnu.org>
Sun, 26 Mar 2000 12:31:16 +0000 (12:31 +0000)
        * hertz.h [MACH] (hertz): Remove macro.  The
        <machine/mach_param.h> include doesn't exist on al Mach based
        systems, and the definition of hertz breaks compilation of hertz.c
        anyway.

gprof/ChangeLog
gprof/hertz.h

index e921ffc..8be42e9 100644 (file)
@@ -1,3 +1,10 @@
+1999-09-29  Mark Kettenis  <kettenis@gnu.org>
+
+        * hertz.h [MACH] (hertz): Remove macro.  The
+        <machine/mach_param.h> include doesn't exist on al Mach based
+        systems, and the definition of hertz breaks compilation of hertz.c
+        anyway.
+
 2000-02-22  Ian Lance Taylor  <ian@zembu.com>
 
        From Brad Lucier <lucier@math.purdue.edu>:
index 2ea01ba..fc30a1f 100644 (file)
  * we return HZ_WRONG, an impossible sampling frequency.
  */
 
-/* FIXME: Checking for MACH here makes no sense when for a cross
-   gprof.  */
-#ifdef MACH
-#include <machine/mach_param.h>
-#define hertz() (HZ)
-#else
 extern int hertz PARAMS ((void));
-#endif
 
 #endif /* hertz_h */