1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

- Fix build on AMD64

This commit is contained in:
Kirill Ponomarev 2004-02-01 18:01:16 +00:00
parent 13ba5647d6
commit 207913f4de
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=99725

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 *)
+#if defined(__FreeBSD__) && !defined(__alpha__)
+#if defined(__FreeBSD__) && !defined(__alpha__) && !defined(__amd64__)
+#include <floatingpoint.h>
+#endif
#include "bb.h"
@ -14,7 +14,7 @@
/*=========================================================================*/
// A long and complicated main() function!
main (int argc, char *argv[]) {
+#if defined(__FreeBSD__) && !defined(__alpha__)
+#if defined(__FreeBSD__) && !defined(__alpha__) && !defined(__amd64__)
+ fpsetmask(0);
+#endif
bb= new battleBall(argc,argv);