From d56aa19b1a2618157cf310fc44323d03f0f02bca Mon Sep 17 00:00:00 2001 From: kervala Date: Sat, 14 May 2016 18:48:06 +0200 Subject: [PATCH] Changed: Compile shortcuts code only under Windows --HG-- branch : feature-ryzom-installer --- code/ryzom/tools/client/ryzom_installer/src/utils.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/ryzom/tools/client/ryzom_installer/src/utils.cpp b/code/ryzom/tools/client/ryzom_installer/src/utils.cpp index aa060a1de..b5a85e3b0 100644 --- a/code/ryzom/tools/client/ryzom_installer/src/utils.cpp +++ b/code/ryzom/tools/client/ryzom_installer/src/utils.cpp @@ -47,6 +47,7 @@ wchar_t* qToWide(const QString &str) return (wchar_t*)str.utf16(); } +#ifdef Q_OS_WIN32 // CreateLink - Uses the Shell's IShellLink and IPersistFile interfaces // to create and store a shortcut to the specified object. @@ -180,3 +181,5 @@ HRESULT ResolveIt(HWND hwnd, const QString &linkFile, QString &path) return hres; } + +#endif