summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2000-08-19 20:15:21 +0000
committerSteve Price <steve@FreeBSD.org>2000-08-19 20:15:21 +0000
commit82cd6fb13a67812cc39216f2e4b12a1980b0cb93 (patch)
tree73a4d10365b6b50fcf1f9c1df1f0cd922adcdfb9 /games
parentUpdate to 2000.08.01 snapshot. (diff)
We don't have fpsetmask(3) on the Alpha.
Notes
Notes: svn path=/head/; revision=31767
Diffstat (limited to 'games')
-rw-r--r--games/battleball/files/patch-ab4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/battleball/files/patch-ab b/games/battleball/files/patch-ab
index 7a027906392a..df87d334a507 100644
--- a/games/battleball/files/patch-ab
+++ b/games/battleball/files/patch-ab
@@ -4,7 +4,7 @@
#include <stdio.h> // to get sprintf()
#include <string.h> // to get strncpy()
#include <time.h> // to get time(time_t *)
-+#ifdef __FreeBSD__
++#if defined(__FreeBSD__) && !defined(__alpha__)
+#include <floatingpoint.h>
+#endif
#include "bb.h"
@@ -14,7 +14,7 @@
/*=========================================================================*/
// A long and complicated main() function!
main (int argc, char *argv[]) {
-+#ifdef __FreeBSD__
++#if defined(__FreeBSD__) && !defined(__alpha__)
+ fpsetmask(0);
+#endif
bb= new battleBall(argc,argv);