aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;
311 311
312#define FRAME_X_P(f) ((f)->output_method == output_x_window) 312#define FRAME_X_P(f) ((f)->output_method == output_x_window)
313#define FRAME_WIN32_P(f) ((f)->output_method == output_win32) 313#define FRAME_WIN32_P(f) ((f)->output_method == output_win32)
314#define FRAME_MSDOS_P(f) ((f)->output_method == output_msdos_raw)
314 315
315/* FRAME_WINDOW_P tests whether the frame is a window, and is 316/* FRAME_WINDOW_P tests whether the frame is a window, and is
316 defined to be the predicate for the window system being used. */ 317 defined to be the predicate for the window system being used. */
@@ -469,6 +470,7 @@ extern FRAME_PTR selected_frame;
469extern FRAME_PTR last_nonminibuf_frame; 470extern FRAME_PTR last_nonminibuf_frame;
470 471
471#define FRAME_LIVE_P(f) 1 472#define FRAME_LIVE_P(f) 1
473#define FRAME_MSDOS_P(f) 0
472#ifdef MSDOS 474#ifdef MSDOS
473/* The following definitions could also be used in the non-MSDOS case, 475/* The following definitions could also be used in the non-MSDOS case,
474 but the constants below lead to better code. */ 476 but the constants below lead to better code. */