1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/print/ghostscript-afpl/files/patch-src:genarch.c
Akinori MUSHA f490d90d09 ** ghostscript6 has been repocopied to ghostscript-afpl **
Update to AFPL Ghostscript 7.00.

PR:		ports/29580
Submitted by:	KATO Tsuguru <tkato@prontomail.com>
2001-09-11 19:24:31 +00:00

35 lines
733 B
C

--- src/genarch.c.orig Wed Sep 20 04:00:23 2000
+++ src/genarch.c Wed Jun 20 04:05:36 2001
@@ -40,6 +40,7 @@
fprintf(f, "\n\t /* ---------------- %s ---------------- */\n\n", str);
}
+#ifndef __FreeBSD__
private clock_t
time_clear(char *buf, int bsize, int nreps)
{
@@ -50,6 +51,7 @@
memset(buf, 0, bsize);
return clock() - t;
}
+#endif /* __FreeBSD__ */
private void
define(FILE *f, const char *str)
@@ -180,6 +182,7 @@
fprintf(f, "((unsigned long)~0L + (unsigned long)0)\n");
#undef PRINT_MAX
+#ifndef __FreeBSD__
section(f, "Cache sizes");
/*
@@ -240,6 +243,7 @@
}
define_int(f, "ARCH_CACHE2_SIZE", bsize >> 1);
}
+#endif /* __FreeBSD__ */
section(f, "Miscellaneous");