diff options
author | Slávek Banko <[email protected]> | 2021-05-17 18:10:38 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2021-05-18 14:07:41 +0200 |
commit | 225ddaa3667808031fe65763d7f533437484486c (patch) | |
tree | e9d7f1883f85f355d8772c5d918d3efa578a76c5 /ksmserver/server.cpp | |
parent | 9bdd3a0e4724a591f0cdc6dd8bdd60dc794354e4 (diff) | |
download | tdebase-225ddaa3667808031fe65763d7f533437484486c.tar.gz tdebase-225ddaa3667808031fe65763d7f533437484486c.zip |
Respect build option WITH_TDEHWLIB, otherwise it can lead to FTBFS in special cases.
Signed-off-by: Slávek Banko <[email protected]>
(cherry picked from commit e031e12d06c77e0a05ad0c30c21f3afea94764af)
Diffstat (limited to 'ksmserver/server.cpp')
-rw-r--r-- | ksmserver/server.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ksmserver/server.cpp b/ksmserver/server.cpp index f09dcd9df..52d5582dd 100644 --- a/ksmserver/server.cpp +++ b/ksmserver/server.cpp @@ -598,7 +598,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 @@ -722,7 +722,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) { |