From dc2fefffc7d4980fe809bf28275b8179a49c15a1 Mon Sep 17 00:00:00 2001 From: "Alexander \"Ace\" Olofsson" Date: Sat, 14 Jun 2014 13:29:55 +0200 Subject: [PATCH] Fix missing M_PI define on Windows --- apps/openmw/mwworld/worldimp.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/openmw/mwworld/worldimp.cpp b/apps/openmw/mwworld/worldimp.cpp index 066cae494..4a29ae1d1 100644 --- a/apps/openmw/mwworld/worldimp.cpp +++ b/apps/openmw/mwworld/worldimp.cpp @@ -52,6 +52,10 @@ #include "esmloader.hpp" #include "omwloader.hpp" +#ifdef _WIN32 +#define M_PI 3.14159 // Windows doesn't have this +#endif + using namespace Ogre; namespace