Home GnuPG

Fix build on macOS due to not having Wayland (variant 2)

Description

Fix build on macOS due to not having Wayland (variant 2)

Wayland-specific stuff is guarded by #ifdef Q_OS_UNIX,
which also matches macOS.

Replaced with #ifdef HAVE_WAYLAND guard.

The guard is based on __has_include feature of C++17.

BUG: 497136
(cherry picked from commit 31a0953ff5385d077e10296d56a530afd453e9e3)

Details

Provenance
unshareAuthored on Fri, Dec 6, 10:57 PM
ikloeckerCommitted on Mon, Dec 9, 9:03 PM
Parents
rKLEOPATRA1f4fafc2db1e: GIT_SILENT Sync po/docbooks with svn
Branches
Unknown
Tags
Unknown
References
refs/merge-requests/336/head, refs/backups/work-branch-work/kloecker/backport-mr-335-1733774975