aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/fmv
diff options
context:
space:
mode:
authorColin Snover2017-11-07 11:59:38 -0600
committerColin Snover2017-11-17 22:47:59 -0600
commit87285ef6093e1cf1dad738bef5bab25ae10be6d4 (patch)
tree845ad61b219eba2512934acf6703d7346a1a19a9 /engines/sword25/fmv
parent7361da9fdcad566a46d24e2b32711173039482d5 (diff)
downloadscummvm-rg350-87285ef6093e1cf1dad738bef5bab25ae10be6d4.tar.gz
scummvm-rg350-87285ef6093e1cf1dad738bef5bab25ae10be6d4.tar.bz2
scummvm-rg350-87285ef6093e1cf1dad738bef5bab25ae10be6d4.zip
SWORD25: Fix possible redefinition of FLT_EPSILON
Diffstat (limited to 'engines/sword25/fmv')
-rw-r--r--engines/sword25/fmv/movieplayer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sword25/fmv/movieplayer.cpp b/engines/sword25/fmv/movieplayer.cpp
index 62a897a332..c9e930eb94 100644
--- a/engines/sword25/fmv/movieplayer.cpp
+++ b/engines/sword25/fmv/movieplayer.cpp
@@ -43,7 +43,9 @@
namespace Sword25 {
+#ifndef FLT_EPSILON
#define FLT_EPSILON 1.192092896e-07F /* smallest such that 1.0+FLT_EPSILON != 1.0 */
+#endif
#ifdef USE_THEORADEC
MoviePlayer::MoviePlayer(Kernel *pKernel) : Service(pKernel), _decoder() {