[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] CVS: Games/Pingus/src system.cxx,1.9,1.10
From: |
torangan |
Subject: |
[Pingus-CVS] CVS: Games/Pingus/src system.cxx,1.9,1.10 |
Date: |
16 Mar 2003 10:40:38 -0000 |
Update of /usr/local/cvsroot/Games/Pingus/src
In directory dark:/tmp/cvs-serv10400/src
Modified Files:
system.cxx
Log Message:
patches to allow compiling on VC++ again
Index: system.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/system.cxx,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- system.cxx 7 Mar 2003 18:49:20 -0000 1.9
+++ system.cxx 16 Mar 2003 10:40:36 -0000 1.10
@@ -442,14 +442,22 @@
return to_string (checksum);
}
+
unsigned int
System::get_mtime(const std::string& filename)
{
+#ifndef WIN32
+
struct stat stat_buf;
if (stat(filename.c_str(), &stat_buf) == 0)
return stat_buf.st_mtime;
else
return 0;
+
+#else
+ return 0;
+#endif
}
+
/* EOF */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus/src system.cxx,1.9,1.10,
torangan <=
- Prev by Date:
[Pingus-CVS] CVS: Games/Pingus/src/editor object_selector.cxx,1.32,1.33
- Next by Date:
[Pingus-CVS] CVS: Games/Pingus/src result.hxx,1.5,1.6 result_screen.cxx,1.1,1.2
- Previous by thread:
[Pingus-CVS] CVS: Games/Pingus/src/editor object_selector.cxx,1.32,1.33
- Next by thread:
[Pingus-CVS] CVS: Games/Pingus/src result.hxx,1.5,1.6 result_screen.cxx,1.1,1.2
- Index(es):