summaryrefslogblamecommitdiff
path: root/games/battleball/files/patch-ab
blob: df87d334a507de39a3ca26d23c0a4ce10857a151 (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                                


                                                  
                                                


                           
                         
                    

                                                                              
                                           
                                
                                                

                


                                 
--- bb/main.C	Thu Sep  2 22:25:19 1999
+++ bb/main.C.new	Sun Apr 16 17:23:35 2000
@@ -11,6 +11,9 @@
 #include <stdio.h>       // to get sprintf()
 #include <string.h>      // to get strncpy()
 #include <time.h>        // to get time(time_t *)
+#if defined(__FreeBSD__) && !defined(__alpha__)
+#include <floatingpoint.h>
+#endif
 #include "bb.h"
 #include "bbgfxtarget.h"
 #include "player.h"
@@ -803,6 +806,9 @@
 /*=========================================================================*/
 // A long and complicated main() function!
 main (int argc, char *argv[]) {
+#if defined(__FreeBSD__) && !defined(__alpha__)
+  fpsetmask(0);
+#endif
   bb= new battleBall(argc,argv);
   bb->Play();
   delete bb;