[Scummvm-cvs-logs] SF.net SVN: scummvm:[35583] scummvm/trunk/backends/fs/windows/windows-fs. cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Sat Dec 27 21:21:55 CET 2008


Revision: 35583
          http://scummvm.svn.sourceforge.net/scummvm/?rev=35583&view=rev
Author:   thebluegr
Date:     2008-12-27 20:21:55 +0000 (Sat, 27 Dec 2008)

Log Message:
-----------
Silenced warning about redefinition of ARRAYSIZE under Windows, after the latest FS changes

Modified Paths:
--------------
    scummvm/trunk/backends/fs/windows/windows-fs.cpp

Modified: scummvm/trunk/backends/fs/windows/windows-fs.cpp
===================================================================
--- scummvm/trunk/backends/fs/windows/windows-fs.cpp	2008-12-27 19:53:54 UTC (rev 35582)
+++ scummvm/trunk/backends/fs/windows/windows-fs.cpp	2008-12-27 20:21:55 UTC (rev 35583)
@@ -24,6 +24,9 @@
 
 #ifdef WIN32
 
+#if defined(ARRAYSIZE)
+#undef ARRAYSIZE
+#endif
 #include <windows.h>
 // winnt.h defines ARRAYSIZE, but we want our own one...
 #undef ARRAYSIZE


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