mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-01-01 16:40:33 +00:00
25 lines
731 B
Diff
25 lines
731 B
Diff
--- ./toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/cmath
|
|
+++ ./toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/cmath
|
|
@@ -301,7 +301,7 @@
|
|
#include <__type_traits/remove_cv.h>
|
|
#include "version"
|
|
|
|
-#include <math.h>
|
|
+#include <c++/v1/math.h>
|
|
|
|
#ifndef _LIBCPP_MATH_H
|
|
# error <cmath> tried including <math.h> but didn't find libc++'s <math.h> header. \
|
|
--- ./toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/math.h
|
|
+++ ./toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/math.h
|
|
@@ -297,9 +297,7 @@
|
|
# pragma GCC system_header
|
|
#endif
|
|
|
|
-# if __has_include_next(<math.h>)
|
|
-# include_next <math.h>
|
|
-# endif
|
|
+#include "../../math.h"
|
|
|
|
#ifdef __cplusplus
|
|
|