summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-06-16 15:23:54 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-06-16 15:23:54 +0000
commit4814f884fb6fafaedd9fcb971354a69c75fc6f09 (patch)
tree8d542f4e9ff203e359e24b86c6c3761796a4a7f4
parent99db770f28ad9c973520298bcf730107fdc9a234 (diff)
more #ifdef hell
-rw-r--r--usr.bin/gprof/gprof.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/gprof/gprof.c b/usr.bin/gprof/gprof.c
index 8d55d58914f..7ca7aa720a7 100644
--- a/usr.bin/gprof/gprof.c
+++ b/usr.bin/gprof/gprof.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gprof.c,v 1.4 1998/08/11 02:54:08 deraadt Exp $ */
+/* $OpenBSD: gprof.c,v 1.5 1999/06/16 15:23:53 deraadt Exp $ */
/* $NetBSD: gprof.c,v 1.8 1995/04/19 07:15:59 cgd Exp $ */
/*
@@ -44,7 +44,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)gprof.c 8.1 (Berkeley) 6/6/93";
#else
-static char rcsid[] = "$OpenBSD: gprof.c,v 1.4 1998/08/11 02:54:08 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: gprof.c,v 1.5 1999/06/16 15:23:53 deraadt Exp $";
#endif
#endif /* not lint */
@@ -84,7 +84,7 @@ main(argc, argv)
cyclethreshold = atoi( *++argv );
break;
case 'c':
-#if defined(i386) || defined(vax) || defined(tahoe) || defined(sparc)
+#if defined(__i386__) || defined(__vax__) || defined(__tahoe__) || defined(__sparc__)
cflag = TRUE;
#else
fprintf(stderr, "gprof: -c isn't supported on this architecture yet\n");
@@ -730,7 +730,7 @@ funcsymbol( nlistp )
* perhaps we should just drop this code entirely...
*/
name = strtab + nlistp -> n_un.n_strx;
-#ifdef sparc
+#ifdef __sparc__
if (nlistp -> n_value & 3)
return FALSE;
if ( *name == '.' ) {