mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 07:21:58 +00:00
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:
parent
cf26da65a3
commit
6c885849d2
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue