diff options
Diffstat (limited to 'usr/src/tools/protocmp/arch.c')
| -rw-r--r-- | usr/src/tools/protocmp/arch.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/usr/src/tools/protocmp/arch.c b/usr/src/tools/protocmp/arch.c index 36ca0fb0aa..5d78c3b019 100644 --- a/usr/src/tools/protocmp/arch.c +++ b/usr/src/tools/protocmp/arch.c @@ -2,9 +2,8 @@ * CDDL HEADER START * * The contents of this file are subject to the terms of the - * Common Development and Distribution License, Version 1.0 only - * (the "License"). You may not use this file except in compliance - * with the License. + * Common Development and Distribution License (the "License"). + * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolaris.org/os/licensing. @@ -21,7 +20,7 @@ */ /* - * Copyright 2005 Sun Microsystems, Inc. All rights reserved. + * Copyright 2007 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -37,7 +36,7 @@ assign_arch(const char *architecture) { int arch = 0; -#if defined(sparc) +#if defined(__sparc) if (strcmp(architecture, "sparc") == 0) arch = P_SPARC; else if (strcmp(architecture, "ISA") == 0) @@ -58,7 +57,7 @@ assign_arch(const char *architecture) arch = P_SUN4m; else if (strcmp(architecture, "sparc.sun4v") == 0) arch = P_SUN4v; -#elif defined(i386) +#elif defined(__i386) if (strcmp(architecture, "i386") == 0) arch = P_I386; else if (strcmp(architecture, "ISA") == 0) |
