From 6e98506a7ff35658e7e287a2bd9c9f050cdd2cc0 Mon Sep 17 00:00:00 2001 From: dwarning Date: Wed, 29 Apr 2020 09:33:08 +0200 Subject: [PATCH] cmath seems not to have M_PI --- src/spicelib/devices/hicum2/hicumL2.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/spicelib/devices/hicum2/hicumL2.cpp b/src/spicelib/devices/hicum2/hicumL2.cpp index b39f917c5..c4398d095 100644 --- a/src/spicelib/devices/hicum2/hicumL2.cpp +++ b/src/spicelib/devices/hicum2/hicumL2.cpp @@ -37,6 +37,9 @@ Spice3 Implementation: 2019 Dietmar Warning, Markus Müller, Mario Krattenmacher */ #include "cmath" +#ifndef M_PI +#define M_PI 3.1415926535897932384626433832795 +#endif #include #include "hicumL2.hpp" #include