From 26714cf0b1fe05fdd682a93a1a189abc8b5de79d Mon Sep 17 00:00:00 2001 From: "icy@NJU" Date: Wed, 28 Aug 2024 22:26:11 +0800 Subject: [PATCH] =?UTF-8?q?Fix=20bugs=20of=20error=20C2065:=20=E2=80=9CM?= =?UTF-8?q?=5FPI=E2=80=9D=20not=20defined=20in=20Windows?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cpp/patchworkpp/include/patchwork/patchworkpp.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cpp/patchworkpp/include/patchwork/patchworkpp.h b/cpp/patchworkpp/include/patchwork/patchworkpp.h index a6e71f7..7ab4e01 100755 --- a/cpp/patchworkpp/include/patchwork/patchworkpp.h +++ b/cpp/patchworkpp/include/patchwork/patchworkpp.h @@ -1,6 +1,10 @@ #ifndef PATCHWORKPP_H #define PATCHWORKPP_H +#ifndef M_PI +#define M_PI 3.14159265358979323846 +#endif + #include #include #include