mirror of
https://github.com/mumble-voip/mumble.git
synced 2025-10-26 11:19:16 +00:00
mumble/main.cpp: include <shellapi.h> for ShellExecuteEx()
src\mumble\main.cpp(647): error C2065: 'SHELLEXECUTEINFO': undeclared identifier src\mumble\main.cpp(647): error C2146: syntax error: missing ';' before identifier 'si' src\mumble\main.cpp(647): error C2065: 'si': undeclared identifier src\mumble\main.cpp(648): error C2065: 'si': undeclared identifier src\mumble\main.cpp(648): error C2065: 'SHELLEXECUTEINFO': undeclared identifier src\mumble\main.cpp(649): error C2065: 'si': undeclared identifier src\mumble\main.cpp(649): error C2065: 'SHELLEXECUTEINFO': undeclared identifier src\mumble\main.cpp(650): error C2065: 'si': undeclared identifier src\mumble\main.cpp(651): error C2065: 'si': undeclared identifier src\mumble\main.cpp(653): error C2065: 'si': undeclared identifier src\mumble\main.cpp(653): error C3861: 'ShellExecuteEx': identifier not found
This commit is contained in:
parent
bca041e2b2
commit
401bceeb32
@ -51,8 +51,8 @@
|
||||
# include <QtDBus/QDBusInterface>
|
||||
#endif
|
||||
|
||||
#if defined(Q_OS_WIN) && defined(QT_NO_DEBUG)
|
||||
# include <shellapi.h> // For CommandLineToArgvW()
|
||||
#ifdef Q_OS_WIN
|
||||
# include <shellapi.h>
|
||||
#endif
|
||||
|
||||
// We define a global macro called 'g'. This can lead to issues when included code uses 'g' as a type or parameter name (like protobuf 3.7 does). As such, for now, we have to make this our last include.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user