[Scummvm-cvs-logs] SF.net SVN: scummvm:[43073] scummvm/branches/gsoc2009-mods/sound/mods

nolange at users.sourceforge.net nolange at users.sourceforge.net
Wed Aug 5 20:00:13 CEST 2009


Revision: 43073
          http://scummvm.svn.sourceforge.net/scummvm/?rev=43073&view=rev
Author:   nolange
Date:     2009-08-05 18:00:13 +0000 (Wed, 05 Aug 2009)

Log Message:
-----------
check if modplayers should be compiled based on engine-macros

Modified Paths:
--------------
    scummvm/branches/gsoc2009-mods/sound/mods/maxtrax.cpp
    scummvm/branches/gsoc2009-mods/sound/mods/tfmx.cpp

Modified: scummvm/branches/gsoc2009-mods/sound/mods/maxtrax.cpp
===================================================================
--- scummvm/branches/gsoc2009-mods/sound/mods/maxtrax.cpp	2009-08-05 17:58:14 UTC (rev 43072)
+++ scummvm/branches/gsoc2009-mods/sound/mods/maxtrax.cpp	2009-08-05 18:00:13 UTC (rev 43073)
@@ -30,6 +30,9 @@
 
 #include "sound/mods/maxtrax.h"
 
+// test for engines using this class.
+#if defined(ENABLE_KYRA)
+
 namespace Audio {
 
 MaxTrax::MaxTrax(int rate, bool stereo)
@@ -739,4 +742,6 @@
 	return true;
 }
 
-}	// End of namespace Audio
\ No newline at end of file
+}	// End of namespace Audio
+
+#endif // #if defined(ENABLE_KYRA)
\ No newline at end of file

Modified: scummvm/branches/gsoc2009-mods/sound/mods/tfmx.cpp
===================================================================
--- scummvm/branches/gsoc2009-mods/sound/mods/tfmx.cpp	2009-08-05 17:58:14 UTC (rev 43072)
+++ scummvm/branches/gsoc2009-mods/sound/mods/tfmx.cpp	2009-08-05 18:00:13 UTC (rev 43073)
@@ -31,6 +31,9 @@
 
 #include "sound/mods/tfmx.h"
 
+// test for engines using this class.
+#if defined(ENABLE_SCUMM)
+
 // couple debug-functions
 namespace {
 	void displayPatternstep(const void *const vptr);
@@ -1173,3 +1176,6 @@
 void displayPatternstep(const void *const vptr) {}
 #endif
 }	// End of namespace
+
+#endif // #if defined(ENABLE_SCUMM)
+


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list