summaryrefslogtreecommitdiff
path: root/src/gui/palette.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/palette.cpp')
-rw-r--r--src/gui/palette.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/gui/palette.cpp b/src/gui/palette.cpp
index aa639546b..f0f97b6f1 100644
--- a/src/gui/palette.cpp
+++ b/src/gui/palette.cpp
@@ -1,12 +1,12 @@
/*
- * The ManaPlus Client
+ * The ManaVerse Client
* Copyright (C) 2008 Douglas Boffey <dougaboffey@netscape.net>
* Copyright (C) 2009 The Mana World Development Team
* Copyright (C) 2009-2010 The Mana Developers
* Copyright (C) 2011-2020 The ManaPlus Developers
- * Copyright (C) 2020-2023 The ManaVerse Developers
+ * Copyright (C) 2020-2025 The ManaVerse Developers
*
- * This file is part of The ManaPlus Client.
+ * This file is part of The ManaVerse Client.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -33,6 +33,11 @@
#include "debug.h"
+// required by MSYS2 / Windows
+#ifndef M_PI
+#define M_PI 3.1415926535897932384626433832795
+#endif
+
const Color Palette::BLACK = Color(0, 0, 0, 255);
Palette::Palettes Palette::mInstances;