#include "support/lyxtime.h"
#include "support/Package.h"
#include "support/lyxtime.h"
#include "support/Package.h"
+#include <boost/assert.hpp>
-#include <boost/filesystem/operations.hpp>
#include <boost/current_function.hpp>
#include <fstream>
#include <boost/current_function.hpp>
#include <fstream>
#include <map>
#include <sstream>
#include <map>
#include <sstream>
-using lyx::support::addName;
-
-namespace fs = boost::filesystem;
-
namespace lyx {
using support::FileName;
namespace lyx {
using support::FileName;
LYXERR(Debug::FILES) << "not in cache." << std::endl;
return false;
}
LYXERR(Debug::FILES) << "not in cache." << std::endl;
return false;
}
- time_t const timestamp = fs::last_write_time(orig_from.toFilesystemEncoding());
+ time_t const timestamp = orig_from.lastModified();
if (item->timestamp == timestamp) {
LYXERR(Debug::FILES) << "identical timestamp." << std::endl;
return true;
if (item->timestamp == timestamp) {
LYXERR(Debug::FILES) << "identical timestamp." << std::endl;
return true;