diff options
Diffstat (limited to 'src/core/type_conversion.h')
-rw-r--r-- | src/core/type_conversion.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/type_conversion.h b/src/core/type_conversion.h index d88fce42f..52eb4d184 100644 --- a/src/core/type_conversion.h +++ b/src/core/type_conversion.h @@ -39,7 +39,7 @@ class X509Certificate; namespace QtWebEngineCore { -#if defined(OS_WIN) +#if defined(Q_OS_WIN) inline QString toQt(const std::wstring &string) { return QString::fromStdWString(string); @@ -215,7 +215,7 @@ inline QNetworkCookie toQt(const net::CanonicalCookie & cookie) inline base::FilePath::StringType toFilePathString(const QString &str) { -#if defined(OS_WIN) +#if defined(Q_OS_WIN) return QDir::toNativeSeparators(str).toStdWString(); #else return str.toStdString(); |