[Scummvm-cvs-logs] scummvm master -> 3490091ba2aadc3b812725dd2073f6b9dbbd9254

sev- sev at scummvm.org
Sat Jul 6 06:32:46 CEST 2013


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
3490091ba2 RECORDER: Fix tests compilation. Patch by D G Turner


Commit: 3490091ba2aadc3b812725dd2073f6b9dbbd9254
    https://github.com/scummvm/scummvm/commit/3490091ba2aadc3b812725dd2073f6b9dbbd9254
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2013-07-05T21:31:28-07:00

Commit Message:
RECORDER: Fix tests compilation. Patch by D G Turner

Changed paths:
    common/system.cpp



diff --git a/common/system.cpp b/common/system.cpp
index b40072a..d86b5b2 100644
--- a/common/system.cpp
+++ b/common/system.cpp
@@ -30,7 +30,9 @@
 #include "common/taskbar.h"
 #include "common/updates.h"
 #include "common/textconsole.h"
+#ifdef ENABLE_EVENTRECORDER
 #include "gui/EventRecorder.h"
+#endif
 
 #include "backends/audiocd/default/default-audiocd.h"
 #include "backends/fs/fs-factory.h"
@@ -159,5 +161,9 @@ Common::TimerManager *OSystem::getTimerManager() {
 }
 
 Common::SaveFileManager *OSystem::getSavefileManager() {
+#ifdef ENABLE_EVENTRECORDER
 	return g_eventRec.getSaveManager(_savefileManager);
+#else
+	return _savefileManager;
+#endif
 }






More information about the Scummvm-git-logs mailing list