[Scummvm-cvs-logs] SF.net SVN: scummvm:[49531] scummvm/branches/gsoc2010-opengl/backends

vgvgf at users.sourceforge.net vgvgf at users.sourceforge.net
Wed Jun 9 07:29:14 CEST 2010


Revision: 49531
          http://scummvm.svn.sourceforge.net/scummvm/?rev=49531&view=rev
Author:   vgvgf
Date:     2010-06-09 05:29:14 +0000 (Wed, 09 Jun 2010)

Log Message:
-----------
Added directives for avoiding compilation of sdl managers on platforms that don't use them (Other platforms may also need to be added later)

Modified Paths:
--------------
    scummvm/branches/gsoc2010-opengl/backends/graphics/sdl/sdl-graphics.cpp
    scummvm/branches/gsoc2010-opengl/backends/mutex/sdl/sdl-mutex.cpp

Modified: scummvm/branches/gsoc2010-opengl/backends/graphics/sdl/sdl-graphics.cpp
===================================================================
--- scummvm/branches/gsoc2010-opengl/backends/graphics/sdl/sdl-graphics.cpp	2010-06-09 04:04:34 UTC (rev 49530)
+++ scummvm/branches/gsoc2010-opengl/backends/graphics/sdl/sdl-graphics.cpp	2010-06-09 05:29:14 UTC (rev 49531)
@@ -23,6 +23,8 @@
  *
  */
 
+#if defined(WIN32) || defined(UNIX) || defined(MACOSX)
+
 #include "backends/graphics/sdl/sdl-graphics.h"
 #include "common/config-manager.h"
 #include "common/mutex.h"
@@ -2069,3 +2071,5 @@
 	}
 	return false;
 }
+
+#endif

Modified: scummvm/branches/gsoc2010-opengl/backends/mutex/sdl/sdl-mutex.cpp
===================================================================
--- scummvm/branches/gsoc2010-opengl/backends/mutex/sdl/sdl-mutex.cpp	2010-06-09 04:04:34 UTC (rev 49530)
+++ scummvm/branches/gsoc2010-opengl/backends/mutex/sdl/sdl-mutex.cpp	2010-06-09 05:29:14 UTC (rev 49531)
@@ -23,6 +23,8 @@
  *
  */
 
+#if defined(WIN32) || defined(UNIX) || defined(MACOSX)
+
 #include "backends/mutex/sdl/sdl-mutex.h"
 
 #if defined(__SYMBIAN32__)
@@ -46,3 +48,5 @@
 void SdlMutexManager::deleteMutex(OSystem::MutexRef mutex) {
 	SDL_DestroyMutex((SDL_mutex *) mutex);
 }
+
+#endif


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