diff options
Diffstat (limited to 'ksmserver/shutdown.cpp')
-rw-r--r-- | ksmserver/shutdown.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ksmserver/shutdown.cpp b/ksmserver/shutdown.cpp index a13e7e3b1..9e8ee1d7c 100644 --- a/ksmserver/shutdown.cpp +++ b/ksmserver/shutdown.cpp @@ -88,10 +88,12 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include "shutdowndlg.h" #include "client.h" -// #define PROFILE_SHUTDOWN 1 +#ifdef BUILD_PROFILE_SHUTDOWN +#define PROFILE_SHUTDOWN 1 +#endif #ifdef PROFILE_SHUTDOWN - #define SHUTDOWN_MARKER(x) printf("[ksmserver] '%s' [%s]\n\r", x, TQTime::currentTime().toString("hh:mm:ss:zzz").ascii()); fflush(stdout); + #define SHUTDOWN_MARKER(x) printf("[ksmserver] '%s' [%s]\n", x, TQTime::currentTime().toString("hh:mm:ss:zzz").ascii()); fflush(stdout); #else // PROFILE_SHUTDOWN #define SHUTDOWN_MARKER(x) #endif // PROFILE_SHUTDOWN |