termux-packages/packages/ndk-sysroot/math-header.diff
2019-04-11 23:14:10 +03:00

23 lines
587 B
Diff

--- data/data/com.termux/files/usr/include/c++/v1/cmath.orig 2019-03-24 00:31:49.512145195 +0000
+++ ./cmath 2019-03-24 00:32:19.392703442 +0000
@@ -302,7 +302,7 @@
*/
#include <__config>
-#include <math.h>
+#include <c++/v1/math.h>
#include "version"
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
--- data/data/com.termux/files/usr/include/c++/v1/math.h.orig 2019-03-24 01:10:28.881807799 +0000
+++ ./math.h 2019-03-24 01:11:01.078384393 +0000
@@ -298,7 +298,7 @@
#pragma GCC system_header
#endif
-#include_next <math.h>
+#include "../../math.h"
#ifdef __cplusplus