diff options
author | Matthew Hoops | 2012-06-10 14:53:26 -0400 |
---|---|---|
committer | Matthew Hoops | 2012-06-10 14:53:26 -0400 |
commit | 249d48f77b395d82b8f2bb67360c5539212f5bc4 (patch) | |
tree | 518655b5b1127e2f400a9c23c05e5200092c5b74 /backends/platform/ps2 | |
parent | 6d4f2753cfa0da81a7ca17054d193fc8c10cb401 (diff) | |
download | scummvm-rg350-249d48f77b395d82b8f2bb67360c5539212f5bc4.tar.gz scummvm-rg350-249d48f77b395d82b8f2bb67360c5539212f5bc4.tar.bz2 scummvm-rg350-249d48f77b395d82b8f2bb67360c5539212f5bc4.zip |
BACKENDS: Add #error for platforms not setting tm_wday in release builds
Diffstat (limited to 'backends/platform/ps2')
-rw-r--r-- | backends/platform/ps2/ps2time.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/backends/platform/ps2/ps2time.cpp b/backends/platform/ps2/ps2time.cpp index c8da0f4915..decfc552ec 100644 --- a/backends/platform/ps2/ps2time.cpp +++ b/backends/platform/ps2/ps2time.cpp @@ -120,5 +120,9 @@ void OSystem_PS2::getTimeAndDate(TimeDate &t) const { t.tm_year = g_year + 100; t.tm_mday = g_day; t.tm_mon = g_month - 1; +#ifdef RELEASE_BUILD + #error getTimeAndDate() is not setting the day of the week +#else t.tm_wday = 0; // FIXME +#endif } |