diff options
-rw-r--r-- | src/keyboard.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index 5f2b7afe6d1..bb4d185c914 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -3909,7 +3909,7 @@ kbd_buffer_get_event (KBOARD **kbp, case END_SESSION_EVENT: case LANGUAGE_CHANGE_EVENT: #endif -#if defined (HAVE_X11) || defined (HAVE_NTGUI) || defined (HAVE_NS) +#ifdef HAVE_WINDOW_SYSTEM case DELETE_WINDOW_EVENT: case ICONIFY_EVENT: case DEICONIFY_EVENT: @@ -5283,7 +5283,7 @@ make_lispy_event (struct input_event *event) switch (event->kind) { -#if defined (HAVE_X11) || defined (HAVE_NTGUI) || defined (HAVE_NS) +#ifdef HAVE_WINDOW_SYSTEM case DELETE_WINDOW_EVENT: /* Make an event (delete-frame (FRAME)). */ return list2 (Qdelete_frame, list1 (event->frame_or_window)); |