Add mpeg2 option to mingw makefile

Fix compile on mingw

svn-id: r12350
This commit is contained in:
Travis Howell 2004-01-12 23:41:05 +00:00
parent b4655ff7f9
commit 9471d58720
2 changed files with 7 additions and 0 deletions

View File

@ -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

View File

@ -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>