[AD] DJGPP conditional fix at rotate.c |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
If DJGPP >= 3 does also have sincos() function, this patch prevents not
using it because of having a DJGPP_MINOR < 3.
--- rotate.c Tue May 21 03:17:38 2002
+++ rotate.c Mon May 27 17:07:02 2002
@@ -716,7 +716,7 @@
if (angle >= 0x800000)
angle -= 0x1000000;
- #if (defined ALLEGRO_DJGPP) && (DJGPP >= 2) && (DJGPP_MINOR >= 3)
+ #if (defined ALLEGRO_DJGPP) && ((DJGPP > 2) || (DJGPP == 2) && (DJGPP_MINOR
>= 3))
/* Faster way to obtain both sin and cos with one call under djgpp.
Todo: Do other platforms support this? (not watcom, mingw or msvc)
*/
--
Roberto Alfonso (rpgrca@xxxxxxxxxx <> rpgrca@xxxxxxxxxx)
Rhynox, the Noble Rockfriend, Wild Battlerager of the Neidar Clan and
Proficient Blacksmith, rising hero, male dwarf (Genesis is the key)
ICQ: 44361979