Compiler warning fix [byuu]
This commit is contained in:
@@ -82,7 +82,6 @@ void Stop_Log (void)
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/***************************************************************************\
|
/***************************************************************************\
|
||||||
* Math tables *
|
* Math tables *
|
||||||
\***************************************************************************/
|
\***************************************************************************/
|
||||||
@@ -93,6 +92,10 @@ double *SinTable2;
|
|||||||
#define Angle(x) (((x)/(65536/INCR)) & (INCR-1))
|
#define Angle(x) (((x)/(65536/INCR)) & (INCR-1))
|
||||||
#define Cos(x) ((double) CosTable2[x])
|
#define Cos(x) ((double) CosTable2[x])
|
||||||
#define Sin(x) ((double) SinTable2[x])
|
#define Sin(x) ((double) SinTable2[x])
|
||||||
|
// gcc warning fix
|
||||||
|
#ifdef PI
|
||||||
|
#undef PI
|
||||||
|
#endif
|
||||||
#define PI 3.14159265358979323846264338327
|
#define PI 3.14159265358979323846264338327
|
||||||
|
|
||||||
double Atan(double x)
|
double Atan(double x)
|
||||||
|
|||||||
Reference in New Issue
Block a user