Files
DevilutionX/Source/utils/logged_fstream.cpp
Gleb Mazovetskiy 1a1a282d9a Use C FILE instead of C++ streams throughout
Reduces binary size by ~2 KiB and may improve compatibility with oddball
systems (e.g. PS2).
2023-02-15 18:15:07 +00:00

20 lines
319 B
C++

#include "utils/logged_fstream.hpp"
namespace devilution {
const char *LoggedFStream::DirToString(int dir)
{
switch (dir) {
case SEEK_SET:
return "SEEK_SET";
case SEEK_END:
return "SEEK_END";
case SEEK_CUR:
return "SEEK_CUR";
default:
return "invalid";
}
}
} // namespace devilution