summaryrefslogtreecommitdiffstats
path: root/ksmserver/server.cpp
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2021-05-17 18:10:38 +0200
committerSlávek Banko <[email protected]>2021-05-18 02:14:50 +0200
commite031e12d06c77e0a05ad0c30c21f3afea94764af (patch)
tree0ff0fc4a899b33b2fe83f7c3a2c98b6f48a2f9a9 /ksmserver/server.cpp
parent1389e296969df0acf7f393b698a3a0f1fb572026 (diff)
downloadtdebase-e031e12d06c77e0a05ad0c30c21f3afea94764af.tar.gz
tdebase-e031e12d06c77e0a05ad0c30c21f3afea94764af.zip
Respect build option WITH_TDEHWLIB, otherwise it can lead to FTBFS in special cases.
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'ksmserver/server.cpp')
-rw-r--r--ksmserver/server.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ksmserver/server.cpp b/ksmserver/server.cpp
index 505865c54..aee40fcaa 100644
--- a/ksmserver/server.cpp
+++ b/ksmserver/server.cpp
@@ -599,7 +599,7 @@ KSMServer::KSMServer( const TQString& windowManager, const TQString& windowManag
clientInteracting = 0;
xonCommand = config->readEntry( "xonCommand", "xon" );
-#ifdef __TDE_HAVE_TDEHWLIB
+#ifdef WITH_TDEHWLIB
hwDevices = TDEGlobal::hardwareDevices();
#endif
@@ -723,7 +723,7 @@ void KSMServer::cleanUp()
DM().shutdown( shutdownType, shutdownMode, bootOption );
}
else {
-#ifdef __TDE_HAVE_TDEHWLIB
+#ifdef WITH_TDEHWLIB
TDERootSystemDevice* rootDevice = hwDevices->rootSystemDevice();
if (rootDevice) {
if (shutdownType == TDEApplication::ShutdownTypeHalt) {