Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++

Fix build with mingw-w64 on Windows

Zhou Qiankang2c13a713b1d9
diff --git a/libs/global/KisWindowsPackageUtils.cpp b/libs/global/KisWindowsPackageUtils.cpp
index 0cb8ca3a53..fc2c1b8ea5 100644
--- a/libs/global/KisWindowsPackageUtils.cpp
+++ b/libs/global/KisWindowsPackageUtils.cpp
@@ -70,7 +70,7 @@ constexpr LONG APPMODEL_ERROR_NO_PACKAGE = 15700;
// shlobj_core.h / Windows 10 v1703
// ---
#ifndef KF_FLAG_RETURN_FILTER_REDIRECTION_TARGET
-constexpr int KF_FLAG_RETURN_FILTER_REDIRECTION_TARGET = 0x00040000;
+#define KF_FLAG_RETURN_FILTER_REDIRECTION_TARGET 0x00040000
#endif
struct AppmodelFunctions {