diff options
author | Travis Howell | 2004-01-12 23:41:05 +0000 |
---|---|---|
committer | Travis Howell | 2004-01-12 23:41:05 +0000 |
commit | 9471d58720a41cfa0ba8b526b4c479b3a3d74af0 (patch) | |
tree | 12bf36266b7eb7ee94573cd823be4009f4e569c4 | |
parent | b4655ff7f9f49bf267e5a83cef54ce5772cf3103 (diff) | |
download | scummvm-rg350-9471d58720a41cfa0ba8b526b4c479b3a3d74af0.tar.gz scummvm-rg350-9471d58720a41cfa0ba8b526b4c479b3a3d74af0.tar.bz2 scummvm-rg350-9471d58720a41cfa0ba8b526b4c479b3a3d74af0.zip |
Add mpeg2 option to mingw makefile
Fix compile on mingw
svn-id: r12350
-rw-r--r-- | Makefile.mingw | 4 | ||||
-rw-r--r-- | sword2/driver/animation.h | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/Makefile.mingw b/Makefile.mingw index 335360079b..a00947c064 100644 --- a/Makefile.mingw +++ b/Makefile.mingw @@ -38,6 +38,10 @@ EXEEXT :=.exe # Compile options - you can modify these to tweak ScummVM compilation # ####################################################################### +# Uncomment this to activate the MPEG2 lib for Broken Sword II cut scenes +DEFINES += -DUSE_MPEG2 +LIBS += -lmpeg2 + # Uncomment this to activate the ZLIB lib for compressed save game files DEFINES += -DUSE_ZLIB LIBS += -lz diff --git a/sword2/driver/animation.h b/sword2/driver/animation.h index 8060303a4c..0f48d9a4b9 100644 --- a/sword2/driver/animation.h +++ b/sword2/driver/animation.h @@ -1,6 +1,9 @@ #ifndef ANIMATION_H #define ANIMATION_H +#ifndef _MSC_VER +#include <inttypes.h> +#endif #ifdef USE_MPEG2 extern "C" { #include <mpeg2dec/mpeg2.h> |