+2023-01-10 Bruno Haible <bruno@clisp.org>
+
+ math: Fix compilation errors in C++ mode on Android.
+ * lib/math.in.h: Declare nothing if this file gets included from
+ /usr/include/c++/v1/math.h too early.
+
2023-01-10 Bruno Haible <bruno@clisp.org>
sys_ioctl: Fix compilation error in C++ mode on Android.
You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>. */
+/* On Android, in C++ mode, when /usr/include/c++/v1/math.h is being included
+ and /usr/include/math.h has not yet been included, skip this file, since it
+ would lead to many syntax errors. */
+#if !(defined __ANDROID__ && defined _LIBCPP_MATH_H && !defined INFINITY)
+
#ifndef _@GUARD_PREFIX@_MATH_H
#if __GNUC__ >= 3
#endif /* _@GUARD_PREFIX@_MATH_H */
#endif /* _GL_INCLUDING_MATH_H */
#endif /* _@GUARD_PREFIX@_MATH_H */
+#endif