Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

windows build: msvc vs mingw - missing __FUNCSIG__ macro #79

Open
pvanek opened this issue May 13, 2019 · 0 comments
Open

windows build: msvc vs mingw - missing __FUNCSIG__ macro #79

pvanek opened this issue May 13, 2019 · 0 comments

Comments

@pvanek
Copy link

pvanek commented May 13, 2019

currently Slaq cannot be built with Win/MinGW toolchain. This simple patch fixes it for MinGW:

diff --git a/slaq.pro b/slaq.pro
index 1a0551e..23190e8 100644
--- a/slaq.pro
+++ b/slaq.pro
@@ -28,7 +28,9 @@ CONFIG(debug, debug|release) {
 }

 DEFINES += SLAQ_VERSION=\\\"$$VERSION\\\"
-windows: DEFINES += __PRETTY_FUNCTION__=__FUNCSIG__
+win32-msvc* {
+    windows: DEFINES += __PRETTY_FUNCTION__=__FUNCSIG__
+}
 # Translations
 TRANSLATIONS += translations/slaq-fi.ts
@pvanek pvanek changed the title windows build: vcc vs mingw - missing __FUNCSIG__ macro windows build: msvc vs mingw - missing __FUNCSIG__ macro May 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant