mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-27 13:38:29 +00:00
Added SDL_fmod() and SDL_fmodf()
This commit is contained in:
@@ -61,17 +61,9 @@ double scalbln(double x, long n)
|
||||
}
|
||||
libm_hidden_def(scalbln)
|
||||
|
||||
#if LONG_MAX == INT_MAX
|
||||
/* strong_alias(scalbln, scalbn) - "error: conflicting types for 'scalbn'"
|
||||
* because it tries to declare "typeof(scalbln) scalbn;"
|
||||
* which tries to give "long" parameter to scalbn.
|
||||
* Doing it by hand:
|
||||
*/
|
||||
__typeof(scalbn) scalbn __attribute__((alias("scalbln")));
|
||||
#else
|
||||
|
||||
double scalbn(double x, int n)
|
||||
{
|
||||
return scalbln(x, n);
|
||||
}
|
||||
#endif
|
||||
libm_hidden_def(scalbn)
|
||||
|
Reference in New Issue
Block a user