summaryrefslogtreecommitdiff
path: root/src/ecrt0.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ecrt0.c')
-rw-r--r--src/ecrt0.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ecrt0.c b/src/ecrt0.c
index 4c4f297c9ca..7ef066ef22f 100644
--- a/src/ecrt0.c
+++ b/src/ecrt0.c
@@ -200,7 +200,7 @@ start1 (ignore, argc, xargv)
#endif /* not CRT0_DUMMIES */
-#ifdef sparc
+#ifdef __sparc__
asm (".global __start");
asm (".text");
asm ("__start:");
@@ -218,7 +218,7 @@ asm (" sub %sp, 24, %sp");
asm (" call __exit");
asm (" nop");
-#endif /* sparc */
+#endif /* __sparc__ */
#if __FreeBSD__ == 2
char *__progname;