diff options
| -rw-r--r-- | base/main.cpp | 12 | ||||
| -rw-r--r-- | dists/redhat/scummvm.spec | 2 | 
2 files changed, 11 insertions, 3 deletions
| diff --git a/base/main.cpp b/base/main.cpp index 94e565ed5f..2a2cf17428 100644 --- a/base/main.cpp +++ b/base/main.cpp @@ -78,9 +78,9 @@   * to setup, but I have no idea if/how one can also change files which are not   * currently being commit'ed.   */ -const char *gScummVMVersion = "0.5.3cvs"; +const char *gScummVMVersion = "0.5.4cvs";  const char *gScummVMBuildDate = __DATE__ " " __TIME__; -const char *gScummVMFullVersion = "ScummVM 0.5.3cvs (" __DATE__ " " __TIME__ ")"; +const char *gScummVMFullVersion = "ScummVM 0.5.4cvs (" __DATE__ " " __TIME__ ")";  Config	*g_config = 0; @@ -104,6 +104,10 @@ extern "C" int main(int argc, char *argv[]);  #undef main  #endif +#if defined (ALLEGRO_BACKEND) +#include "allegro.h" +#endif +  #if defined(UNIX)  #include <sys/param.h>  #ifndef MAXPATHLEN @@ -331,6 +335,10 @@ int main(int argc, char *argv[]) {  	delete system;  	return 0;  } +// allegro needs this for some reason... +#if defined(ALLEGRO_BACKEND) +END_OF_MAIN(); +#endif  #endif // WIN32_WCE diff --git a/dists/redhat/scummvm.spec b/dists/redhat/scummvm.spec index 13bd007228..9d606471f8 100644 --- a/dists/redhat/scummvm.spec +++ b/dists/redhat/scummvm.spec @@ -8,7 +8,7 @@  #   Prologue information  #------------------------------------------------------------------------------  Name		: scummvm -Version		: 0.5.3cvs +Version		: 0.5.4cvs  Release		: 1  Summary		: Graphic adventure game interpreter  Group		: Interpreters | 
