summaryrefslogtreecommitdiff
path: root/print.h
diff options
context:
space:
mode:
Diffstat (limited to 'print.h')
-rw-r--r--print.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/print.h b/print.h
index d1ecbf6..a87779c 100644
--- a/print.h
+++ b/print.h
@@ -35,6 +35,14 @@ in this Software without prior written authorization from The Open Group.
#include <X11/Xaw/Cardinals.h>
#include <X11/XprintUtil/xprintutil.h>
+#if defined(XMORE)
+#define PrintMsg(x) { printf("xmore: "); printf x ; }
+#elif defined(XEDIT)
+#define PrintMsg(x) { XeditPrintf x ; }
+#else
+#error unknown application
+#endif
+
/* Prototypes */
void DoPrintTextSource(const char *programname,
Widget textsource,