We don't have fpsetmask(3) on the Alpha.

This commit is contained in:
Steve Price 2000-08-19 20:15:21 +00:00
parent bb0c74ff5d
commit 82cd6fb13a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=31767

View File

@ -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);