in_sdl.c: OW1.9 doesn't have powf() and sqrtf(). use pow/sqrt, instead.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1458 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
Ozkan Sezer 2017-07-29 07:00:50 +00:00
parent cf26da65a3
commit 6c885849d2

View file

@ -416,6 +416,11 @@ static joyaxisstate_t joy_axisstate;
static double joy_buttontimer[SDL_CONTROLLER_BUTTON_MAX];
static double joy_emulatedkeytimer[10];
#ifdef __WATCOMC__ /* OW1.9 doesn't have powf() / sqrtf() */
#define powf pow
#define sqrtf sqrt
#endif
/*
================
IN_AxisMagnitude