1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-13 19:54:17 +02:00

VS-2013 issue.

This commit is contained in:
Michał W. Urbańczyk
2013-08-01 11:58:30 +00:00
parent 91a1f0eae5
commit 7a90ead051

View File

@@ -34,11 +34,11 @@
#include "../gui/CGuiHandler.h"
#include "../CMT.h"
#ifndef __GNUC__
const double M_PI = 3.14159265358979323846;
#else
#if defined(_MSC_VER) && _MSC_VER >= 1800
#define _USE_MATH_DEFINES
#include <cmath>
#else
const double M_PI = 3.14159265358979323846;
#endif
#include "../../lib/UnlockGuard.h"