Fix some warnings
authorunC0Rr
Wed, 04 May 2016 14:09:54 +0300
changeset 11808 d85d273cb3aa
parent 11807 975c130c3901
child 11809 7a8b6694a519
child 11813 ffe6e1344ebd
Fix some warnings
QTfrontend/hwform.cpp
QTfrontend/ui/widget/feedbackdialog.cpp
--- a/QTfrontend/hwform.cpp	Tue May 03 22:19:17 2016 +0200
+++ b/QTfrontend/hwform.cpp	Wed May 04 14:09:54 2016 +0300
@@ -103,7 +103,9 @@
 #include "AutoUpdater.h"
 
 #ifdef Q_OS_WIN
+#ifndef WINVER
 #define WINVER 0x0500
+#endif
 #include <windows.h>
 #else
 #include <unistd.h>
--- a/QTfrontend/ui/widget/feedbackdialog.cpp	Tue May 03 22:19:17 2016 +0200
+++ b/QTfrontend/ui/widget/feedbackdialog.cpp	Wed May 04 14:09:54 2016 +0300
@@ -35,7 +35,9 @@
 #include <string>
 
 #ifdef Q_OS_WIN
+#ifndef WINVER
 #define WINVER 0x0500
+#endif
 #include <windows.h>
 #else
 #include <unistd.h>