using lyx::support::os::getTmpDir;
using lyx::support::os::setTmpDir;
+namespace os = lyx::support::os;
+
using std::endl;
using std::string;
using std::vector;
if (!createDirectory(user_lyxdir(), 0755)) {
// Failed, let's use $HOME instead.
- user_lyxdir(GetEnvPath("HOME"));
+ user_lyxdir(os::homepath());
lyxerr << bformat(_("Failed. Will use %1$s instead."),
user_lyxdir()) << endl;
return;