diff options
author | Eric Andersen | 1999-10-19 20:03:34 +0000 |
---|---|---|
committer | Eric Andersen | 1999-10-19 20:03:34 +0000 |
commit | e77ae3a2c0328590b43447550bdb1284650b8236 (patch) | |
tree | 1e46d5cf36870771a4f3cedfe84f6161c3871131 /console-tools/loadfont.c | |
parent | a3f09076ef5e9a2c26b4d0728cd066bba6c474e4 (diff) | |
download | busybox-e77ae3a2c0328590b43447550bdb1284650b8236.zip busybox-e77ae3a2c0328590b43447550bdb1284650b8236.tar.gz |
Added sfdisk. Ststic-ified a bunch of stuff.
Diffstat (limited to 'console-tools/loadfont.c')
-rw-r--r-- | console-tools/loadfont.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/console-tools/loadfont.c b/console-tools/loadfont.c index a10fa8a..e44525d 100644 --- a/console-tools/loadfont.c +++ b/console-tools/loadfont.c @@ -75,7 +75,7 @@ do_loadfont(int fd, char *inbuf, int unit, int fontsize) { for (i = 0; i < fontsize; i++) memcpy(buf+(32*i), inbuf+(unit*i), unit); -#if defined( PIO_FONTX ) && !defined( sparc ) +#if defined( PIO_FONTX ) && !defined( __sparc__ ) { struct consolefontdesc cfd; @@ -196,7 +196,7 @@ loadnewfont(int fd) { exit(1); } fontsize = ((psfhdr.mode & PSF_MODE512) ? 512 : 256); -#if !defined( PIO_FONTX ) || defined( sparc ) +#if !defined( PIO_FONTX ) || defined( __sparc__ ) if (fontsize != 256) { fprintf(stderr, "Only fontsize 256 supported\n"); exit(1); |