diff options
author | Max Horn | 2009-10-08 19:41:38 +0000 |
---|---|---|
committer | Max Horn | 2009-10-08 19:41:38 +0000 |
commit | 42120ed626c0d18bc1e1738678dbd1fa96481f04 (patch) | |
tree | 90715ea5e5bb3f3f24547f484b2355194b9cd93c /engines/draci/saveload.cpp | |
parent | f5ccaf7e29183d6e51456d5994eccfd35ff9a117 (diff) | |
download | scummvm-rg350-42120ed626c0d18bc1e1738678dbd1fa96481f04.tar.gz scummvm-rg350-42120ed626c0d18bc1e1738678dbd1fa96481f04.tar.bz2 scummvm-rg350-42120ed626c0d18bc1e1738678dbd1fa96481f04.zip |
Introduce a new struct TimeDate, replacing struct tm in client code. May lead to compilation issues in ports, which should be trivial to fix, though
svn-id: r44793
Diffstat (limited to 'engines/draci/saveload.cpp')
-rw-r--r-- | engines/draci/saveload.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/draci/saveload.cpp b/engines/draci/saveload.cpp index f74deb5c14..cebe04bf73 100644 --- a/engines/draci/saveload.cpp +++ b/engines/draci/saveload.cpp @@ -23,8 +23,6 @@ * */ -#include <time.h> // for extended infos - #include "draci/draci.h" #include "draci/saveload.h" @@ -95,7 +93,7 @@ Common::Error saveSavegameData(int saveGameIdx, const Common::String &saveName, if (f == NULL) return Common::kNoGameDataFoundError; - tm curTime; + TimeDate curTime; vm._system->getTimeAndDate(curTime); // Save the savegame header |