#ifndef __COMPATIB__ #define __COMPATIB__ // Some #defines for BorlandC & other compatibility #ifdef min #undef min #endif #ifdef max #undef max #endif #define min(i,j) ((i) < (j) ? (i) : (j)) #define max(i,j) ((i) > (j) ? (i) : (j)) typedef int INT; typedef char CHAR; #define HUGE __huge #ifndef _INC_LIMITS #include #endif // Scale factor for integer sines & cosines #define SCALE (( (LONG) INT_MAX + 1) / 2) #define SCALED (( (double) INT_MAX + 1) / 2) // Scale factor in bits #define SCALEB 14 #endif // __COMPATIB__