Mercurial > gnulib
view modules/floor @ 40164:b973ad598121
Fix build error when building a shared libunistring on Android.
* tests/uninorm/test-nfc.c (n): Don't define on Android.
(main): Add 'volatile', to defeat a GCC optimization that would
eliminate the reference.
* tests/uninorm/test-nfd.c (n): Don't define on Android.
(main): Add 'volatile', to defeat a GCC optimization that would
eliminate the reference.
* tests/uninorm/test-nfkc.c (n): Don't define on Android.
(main): Add 'volatile', to defeat a GCC optimization that would
eliminate the reference.
* tests/uninorm/test-nfkd.c (n): Don't define on Android.
(main): Add 'volatile', to defeat a GCC optimization that would
eliminate the reference.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Mon, 28 Jan 2019 21:14:08 +0100 |
parents | 1a75ac6afa99 |
children |
line wrap: on
line source
Description: floor() function: round towards negative infinity. Files: lib/floor.c m4/floor.m4 Depends-on: math float [test $REPLACE_FLOOR = 1] configure.ac: AC_REQUIRE([gl_FUNC_FLOOR]) if test $REPLACE_FLOOR = 1; then AC_LIBOBJ([floor]) fi gl_MATH_MODULE_INDICATOR([floor]) Makefile.am: Include: <math.h> Link: $(FLOOR_LIBM) License: LGPL Maintainer: all