summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-06-10 21:05:11 +0000
committerRichard M. Stallman <rms@gnu.org>1996-06-10 21:05:11 +0000
commit2f9efceea2f2e9e41c6c584fc5434cb5d869d124 (patch)
treea4b63c4bcc2a6f6e137fdf8310ed5ae5f982b173
parent716e29636462ab4bc09685188dfe2d2122e4823f (diff)
downloademacs-2f9efceea2f2e9e41c6c584fc5434cb5d869d124.tar.gz
(FRAME_MSDOS_P): A new macro for MSDOS frames.
-rw-r--r--src/frame.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/frame.h b/src/frame.h
index 2f4828e7d6d..2fed084a6c3 100644
--- a/src/frame.h
+++ b/src/frame.h
@@ -311,6 +311,7 @@ typedef struct frame *FRAME_PTR;
#define FRAME_X_P(f) ((f)->output_method == output_x_window)
#define FRAME_WIN32_P(f) ((f)->output_method == output_win32)
+#define FRAME_MSDOS_P(f) ((f)->output_method == output_msdos_raw)
/* FRAME_WINDOW_P tests whether the frame is a window, and is
defined to be the predicate for the window system being used. */
@@ -469,6 +470,7 @@ extern FRAME_PTR selected_frame;
extern FRAME_PTR last_nonminibuf_frame;
#define FRAME_LIVE_P(f) 1
+#define FRAME_MSDOS_P(f) 0
#ifdef MSDOS
/* The following definitions could also be used in the non-MSDOS case,
but the constants below lead to better code. */