summaryrefslogtreecommitdiff
path: root/games/glasteroids/files/patch-ac
blob: c3217da91aac659a4b7f504d57bcb45b18420580 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- Glasteroids.cxx.orig	Wed Aug 11 19:48:58 1999
+++ Glasteroids.cxx	Sun Aug  6 19:33:33 2000
@@ -1,5 +1,8 @@
 #include <stdlib.h>
 #include <time.h>
+#ifdef __FreeBSD__
+#include <floatingpoint.h>
+#endif
 #include "Bobcat.h"
 
 /*
@@ -75,6 +78,9 @@
 {
     BCworld *world;
     
+#if defined(__FreeBSD__) && !defined(__alpha__)
+    fpsetmask(0);
+#endif
     world = BCgetWorld ( );
 
     world->InitWorld ( argc, argv,"Glasteroids", 640, 480, 100 );