dtwm: Remove WSM define, that is always on for CDE

This commit is contained in:
Peter Howkins
2018-06-20 00:46:58 +01:00
parent 5dc05eaeb4
commit 9a551dd8a6
57 changed files with 237 additions and 2797 deletions

View File

@@ -36,9 +36,7 @@
#include "WmGlobal.h"
#include <stdio.h>
#ifdef WSM
#include <Dt/UserMsg.h>
#endif /* WSM */
#include "WmXSMP.h"
/*
@@ -319,21 +317,15 @@ WmXtWarningHandler (char *message)
void
Warning (char *message)
{
#ifdef WSM
char pch[MAXWMPATH+1];
sprintf (pch, "%s: %s\n",
GETMESSAGE(20, 1, "Workspace Manager"), message);
_DtSimpleError (wmGD.mwmName, DtIgnore, NULL, pch, NULL);
#else /* WSM */
fprintf (stderr, "%s: %s\n", wmGD.mwmName, message);
fflush (stderr);
#endif /* WSM */
} /* END OF FUNCTION Warning */
#ifdef WSM
#ifdef DEBUGGER
/******************************<->*************************************
@@ -366,4 +358,3 @@ PrintFormatted(char *f, char *s0, char *s1, char *s2, char *s3, char *s4, char *
/************************ eof **************************/
#endif /* DEBUGGER */
#endif /* WSM */