FreeRDP/winpr/libwinpr/utils/trio
Baruch Siach 414663cc36 Don't use unavailable C99 long double math functions
uClibc variants do not provide the C99 long double math functions like ceill,
powl, etc.. For future compatibility use check_symbol_exists() to check
whether these functions are available, and keep the result in
HAVE_MATH_C99_LONG_DOUBLE. Use that instead of the fragile Cygwin version
check in triodef.h.

Fixes build failures under uClibc(-ng) like:

../../libwinpr/utils/libwinpr-utils.so.0.1.0: undefined reference to `powl'
../../libwinpr/utils/libwinpr-utils.so.0.1.0: undefined reference to `fmodl'
../../libwinpr/utils/libwinpr-utils.so.0.1.0: undefined reference to `ceill'
../../libwinpr/utils/libwinpr-utils.so.0.1.0: undefined reference to `log10l'
../../libwinpr/utils/libwinpr-utils.so.0.1.0: undefined reference to `floorl'
collect2: error: ld returned 1 exit status

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
2015-05-03 21:12:30 +03:00
..
strio.h libwinpr-utils: add trio portable printf implementation 2013-03-21 21:30:31 -04:00
trio.c Fix warnings found in Xcode 2014-07-29 05:22:30 +02:00
trio.h libwinpr-utils: add trio portable printf implementation 2013-03-21 21:30:31 -04:00
triodef.h Don't use unavailable C99 long double math functions 2015-05-03 21:12:30 +03:00
trionan.c Fix warnings found in Xcode 2014-07-29 05:22:30 +02:00
trionan.h libwinpr-utils: add trio portable printf implementation 2013-03-21 21:30:31 -04:00
triop.h libwinpr-utils: add trio portable printf implementation 2013-03-21 21:30:31 -04:00
triostr.c Fix warnings found in Xcode 2014-07-29 05:22:30 +02:00
triostr.h libwinpr-utils: add trio portable printf implementation 2013-03-21 21:30:31 -04:00