diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
commit | 36d22d82aa202bb199967e9512281e9a53db42c9 (patch) | |
tree | 105e8c98ddea1c1e4784a60a5a6410fa416be2de /modules/fdlibm/patches/02_change_include_guard_in_fdlibm_h.patch | |
parent | Initial commit. (diff) | |
download | firefox-esr-upstream.tar.xz firefox-esr-upstream.zip |
Adding upstream version 115.7.0esr.upstream/115.7.0esrupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'modules/fdlibm/patches/02_change_include_guard_in_fdlibm_h.patch')
-rw-r--r-- | modules/fdlibm/patches/02_change_include_guard_in_fdlibm_h.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/modules/fdlibm/patches/02_change_include_guard_in_fdlibm_h.patch b/modules/fdlibm/patches/02_change_include_guard_in_fdlibm_h.patch new file mode 100644 index 0000000000..e89eadbe32 --- /dev/null +++ b/modules/fdlibm/patches/02_change_include_guard_in_fdlibm_h.patch @@ -0,0 +1,37 @@ +--- a/fdlibm.h 2022-12-13 14:27:29.092805897 -0500 ++++ b/fdlibm.h 2022-12-13 14:27:37.444836016 -0500 +@@ -9,18 +9,21 @@ + * ==================================================== + */ + + /* + * from: @(#)fdlibm.h 5.1 93/09/24 + * $FreeBSD$ + */ + +-#ifndef _MATH_H_ +-#define _MATH_H_ ++#ifndef mozilla_imported_fdlibm_h ++#define mozilla_imported_fdlibm_h + ++#ifndef M_PI_2 + #define M_PI_2 1.57079632679489661923 /* pi/2 */ ++#endif ++ + double acos(double); + double asin(double); + double atan(double); + double atan2(double, double); + double cos(double); + double sin(double); +@@ -69,9 +72,9 @@ + float ceilf(float); + float fabsf(float); + float floorf(float); + float nearbyintf(float); + float rintf(float); + float scalbnf(float, int); + float truncf(float); + +-#endif /* !_MATH_H_ */ ++#endif /* !mozilla_imported_fdlibm_h */ |