Commit 13925a73 authored by Andre Heinecke's avatar Andre Heinecke

Let Qt decide if we are building for Windows

WIN32 define is compiler specific so it's better to include
QtGlobal for Q_OS_WIN
parent 62039e26
......@@ -31,9 +31,11 @@
*/
#include "config-kleopatra.h"
#include <QtGlobal>
// Includes the real implementation
#if !HAVE_QDBUS && defined(WIN32)
#if !HAVE_QDBUS && defined(Q_OS_WIN)
# include "kuniqueservice_win.cpp"
#elif HAVE_QDBUS
# include "kuniqueservice_dbus.cpp"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment