dtcm: stub out XmPrint stuff if there is no XmPrint support.
[oweals/cde.git] / cde / programs / dtcm / dtcm / x_graphics.c
index d65b9883c968771902d0887f43ae285228d4375e..ad85028664de7b8b406f21551e2205d10dca3000 100644 (file)
@@ -2228,6 +2228,8 @@ x_open_file(Calendar *c)
                            NULL, 0);
 #endif
 
+#if defined(PRINTING_SUPPORTED)
+
 #ifdef GR_DEBUG
   if (!inDebugMode(c))
   {
@@ -2262,6 +2264,8 @@ x_open_file(Calendar *c)
 #ifdef GR_DEBUG
   }
 #endif
+#endif  /* PRINTING_SUPPORTED */
+
 
   nargs = 0;
 #ifdef SHELL_SIZE_BUG