From af5bf64a93f07dc316e8e7dd6aca631602e80d7f Mon Sep 17 00:00:00 2001 From: VAN BOSSUYT Nicolas Date: Tue, 13 Dec 2022 00:04:23 +0100 Subject: [PATCH] stdc-math: added support for C++ --- sources/libs/stdc-math/math.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sources/libs/stdc-math/math.h b/sources/libs/stdc-math/math.h index 9a872271..22a19027 100644 --- a/sources/libs/stdc-math/math.h +++ b/sources/libs/stdc-math/math.h @@ -1,6 +1,9 @@ #pragma once #include +#include + +STDC_BEGIN_HEADER #ifndef NAN # define NAN (0.0 / 0.0) @@ -362,3 +365,5 @@ long double fminl(long double x, long double y); double fma(double, double, double); float fmaf(float, float, float); long double fmal(long double, long double, long double); + +STDC_END_HEADER