summaryrefslogtreecommitdiffstats
path: root/src/Globals.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-10-10 09:58:54 +0200
committerMattes D <github@xoft.cz>2014-10-10 09:58:54 +0200
commita47d9e53344144d7584c37bbac742cf2187492fe (patch)
treef1f7a8623c9232437686ed197e946e63e6720bc7 /src/Globals.h
parentMerge pull request #1376 from mc-server/static_cast (diff)
downloadcuberite-a47d9e53344144d7584c37bbac742cf2187492fe.tar
cuberite-a47d9e53344144d7584c37bbac742cf2187492fe.tar.gz
cuberite-a47d9e53344144d7584c37bbac742cf2187492fe.tar.bz2
cuberite-a47d9e53344144d7584c37bbac742cf2187492fe.tar.lz
cuberite-a47d9e53344144d7584c37bbac742cf2187492fe.tar.xz
cuberite-a47d9e53344144d7584c37bbac742cf2187492fe.tar.zst
cuberite-a47d9e53344144d7584c37bbac742cf2187492fe.zip
Diffstat (limited to 'src/Globals.h')
-rw-r--r--src/Globals.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Globals.h b/src/Globals.h
index 9959d92a9..4ee1352eb 100644
--- a/src/Globals.h
+++ b/src/Globals.h
@@ -51,6 +51,9 @@
#define NORETURN __declspec(noreturn)
+ // Use non-standard defines in <cmath>
+ #define _USE_MATH_DEFINES
+
#elif defined(__GNUC__)
// TODO: Can GCC explicitly mark classes as abstract (no instances can be created)?