diff options
Diffstat (limited to 'games/battleball/files')
-rw-r--r-- | games/battleball/files/patch-lib3d-general.h | 18 | ||||
-rw-r--r-- | games/battleball/files/patch-lib3d-xform.h | 10 |
2 files changed, 28 insertions, 0 deletions
diff --git a/games/battleball/files/patch-lib3d-general.h b/games/battleball/files/patch-lib3d-general.h new file mode 100644 index 000000000000..e795d45e4463 --- /dev/null +++ b/games/battleball/files/patch-lib3d-general.h @@ -0,0 +1,18 @@ +--- lib3d/general.h.orig Fri Sep 3 04:25:19 1999 ++++ lib3d/general.h Fri Jul 18 17:42:41 2003 +@@ -25,9 +25,15 @@ + typedef unsigned int uint; + typedef unsigned long ulong; + ++#ifdef __GNUC__ ++#if __GNUC__ < 3 + #define and && + #define or || + #define not ! ++#endif ++ ++// TODO - what about non-GNU C++ compilers? ++#endif + + #define forii(limit) for (int i= 0; i <limit; i++) + #define forij(limit) for (int j= 0; j <limit; j++) diff --git a/games/battleball/files/patch-lib3d-xform.h b/games/battleball/files/patch-lib3d-xform.h new file mode 100644 index 000000000000..bca2ac7076d7 --- /dev/null +++ b/games/battleball/files/patch-lib3d-xform.h @@ -0,0 +1,10 @@ +--- lib3d/xform.h.orig Fri Jul 18 17:28:08 2003 ++++ lib3d/xform.h Fri Jul 18 17:26:11 2003 +@@ -64,6 +64,7 @@ + + //=========================================================================== + class tmtrx { ++ friend struct player; + typedef double fourby3[4][3]; + fourby3 m; + |