#else
QString cmd = QString::fromLocal8Bit(what.c_str());
QProcess * process = new QProcess;
-#ifndef WIN32
+#ifndef _WIN32
if (isatty(1))
process->setStandardOutputFile(toqstr("/dev/stdout"));
if (isatty(2))
LYXERR0("state " << process->state());
LYXERR0("status " << process->exitStatus());
}
-#ifdef WIN32
+#ifdef _WIN32
cout << fromqstr(QString::fromLocal8Bit(process->readAllStandardOutput().data())) << endl;
cerr << fromqstr(QString::fromLocal8Bit(process->readAllStandardError().data())) << endl;
#endif