aboutsummaryrefslogtreecommitdiff
path: root/backends/graphics/opengl/gltexture.cpp
diff options
context:
space:
mode:
authorD G Turner2013-07-31 06:18:58 +0100
committerD G Turner2013-07-31 06:18:58 +0100
commit26a9b528dadde6521f80a7121af69f6af6f53b9a (patch)
tree66f97d412724e5b7b069e71fe021afd88eda6ef8 /backends/graphics/opengl/gltexture.cpp
parent1809cc567303651dd3acd54d64f0e7c33a2651df (diff)
downloadscummvm-rg350-26a9b528dadde6521f80a7121af69f6af6f53b9a.tar.gz
scummvm-rg350-26a9b528dadde6521f80a7121af69f6af6f53b9a.tar.bz2
scummvm-rg350-26a9b528dadde6521f80a7121af69f6af6f53b9a.zip
COMMON: Move definition of math constants to scummsys header.
This should have no effect on common/math.h as scummsys is included at the top anyway, but this will fix compilation on some toolchains when strict ANSI language compliance is enabled i.e. -std=c++11, rather than -std=gnu11. This causes an issue as a side effect is to set a guard which disables various non-standard defines in the system headers i.e. the M_PI and M_SQRT1_2 constant definitions in the MinGW x86_64 toolchain on buildbot. By moving this into scummsys.h after the point of system math.h inclusion, we can ensure that M_PI etc. are always present.
Diffstat (limited to 'backends/graphics/opengl/gltexture.cpp')
0 files changed, 0 insertions, 0 deletions