summaryrefslogtreecommitdiffhomepage
path: root/proto-wine
diff options
context:
space:
mode:
authorFrancesco Zanini <francesco@zanini.me>2023-11-13 08:59:42 +0100
committerFrancesco Zanini <francesco@zanini.me>2023-11-13 08:59:42 +0100
commitd501d7e0b237ed0c305525788b423d842ffa356d (patch)
tree1794a27d902ba028785cd4b9285dcf4bd5bb3f68 /proto-wine
parent693184592cb42c2c3a2d8afee7aa06f766b46a2d (diff)
Fix build for wine without wrapper
`connected_game` is only declared in a specific configuration.
Diffstat (limited to 'proto-wine')
-rw-r--r--proto-wine/ftnoir_protocol_wine.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/proto-wine/ftnoir_protocol_wine.cpp b/proto-wine/ftnoir_protocol_wine.cpp
index 75526c54..c44cfc43 100644
--- a/proto-wine/ftnoir_protocol_wine.cpp
+++ b/proto-wine/ftnoir_protocol_wine.cpp
@@ -137,7 +137,9 @@ module_status wine::initialize()
qDebug() << "proto/wine: shm success";
// display "waiting for game message" (overwritten once a game is detected)
+#ifndef OTR_WINE_NO_WRAPPER
connected_game = "waiting for game...";
+#endif
}
else {
qDebug() << "proto/wine: shm no success";