#include <fstream>
+using std::endl;
+using std::flush;
+using std::getline;
+using std::string;
+using std::ofstream;
+using std::ifstream;
-namespace lyx {
-#ifndef CXX_GLOBAL_CSTD
-using std::time;
-#endif
+namespace lyx {
using support::FileName;
using support::ltrim;
using support::suffixIs;
using support::sum;
-using std::endl;
-using std::flush;
-using std::getline;
-using std::string;
-using std::ofstream;
-using std::ifstream;
-
inline
bool DepTable::dep_info::changed() const
{
LYXERR(Debug::DEPEND) << "done." << endl;
struct stat f_info;
stat(f.toFilesystemEncoding().c_str(), &f_info);
- di.mtime_cur = f_info.st_mtime;
+ di.mtime_cur = long(f_info.st_mtime);
} else {
di.crc_cur = 0;
di.mtime_cur = 0;