]> Savannah Git Hosting - gnulib.git/commitdiff
ffs: Document Android problem.
authorBruno Haible <bruno@clisp.org>
Tue, 3 Jan 2023 18:48:59 +0000 (19:48 +0100)
committerBruno Haible <bruno@clisp.org>
Tue, 3 Jan 2023 20:29:07 +0000 (21:29 +0100)
* doc/posix-functions/ffs.texi: Mention Android problem.
* m4/ffs.m4: Update comment.

ChangeLog
doc/posix-functions/ffs.texi
m4/ffs.m4

index 88d5faa5922871deed50d87e3e49194fcb1055b5..fc20f7ebe48d34a52ff0397d60ba5ffd64426173 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2023-01-03  Bruno Haible  <bruno@clisp.org>
+
+       ffs: Document Android problem.
+       * doc/posix-functions/ffs.texi: Mention Android problem.
+       * m4/ffs.m4: Update comment.
+
 2023-01-03  Bruno Haible  <bruno@clisp.org>
 
        stdio: Fix error in C++ mode on Android, due to putw.
index 2e65b2f7121c8f17568c006af68ce5ecea26d5de..69f897a7f8ebe708ac0a44217b93c0d33d349fdf 100644 (file)
@@ -15,4 +15,7 @@ mingw, MSVC 14.
 
 Portability problems not fixed by Gnulib:
 @itemize
+@item
+This function is only defined as an inline function on some platforms:
+Android 13.
 @end itemize
index 3bc6f8eca811093ee8f4278040e36500e57044d9..848fd0aa1fc3291dac4e521b594bbb8b1af69798 100644 (file)
--- a/m4/ffs.m4
+++ b/m4/ffs.m4
@@ -1,4 +1,4 @@
-# ffs.m4 serial 5
+# ffs.m4 serial 6
 dnl Copyright (C) 2011-2023 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -9,7 +9,7 @@ AC_DEFUN([gl_FUNC_FFS],
   AC_REQUIRE([gl_STRINGS_H_DEFAULTS])
 
   dnl We can't use AC_CHECK_FUNC here, because ffs() is defined as a
-  dnl static inline function when compiling for Android 4.2 or older.
+  dnl static inline function when compiling for Android 13 or older.
   dnl But require that ffs() is declared; otherwise we may be using
   dnl the GCC built-in function, which leads to warnings
   dnl "warning: implicit declaration of function 'ffs'".