Home GnuPG

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

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.
This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

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 a non-standard yet widely available
feature on both GCC and Clang.

This is an alternative solution for:
Bug: https://bugs.kde.org/show_bug.cgi?id=497136
MR: https://invent.kde.org/pim/kleopatra/-/merge_requests/334
Commit: https://invent.kde.org/pim/kleopatra/-/commit/3d7308a7f38a70ab161d6acf621131461a4bb2be

Details

Provenance
unshareAuthored on Fri, Dec 6, 10:57 PM
Parents
rKLEOPATRA5f26961486dd: GIT_SILENT: Time to increase version
Branches
Unknown
Tags
Unknown

Event Timeline