diff options
Diffstat (limited to 'games/battleball/files/patch-lib3d-general.h')
-rw-r--r-- | games/battleball/files/patch-lib3d-general.h | 18 |
1 files changed, 18 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++) |