aboutsummaryrefslogtreecommitdiffstats
path: root/src/xmenu.c
diff options
context:
space:
mode:
authorPaul Eggert2013-08-27 12:36:28 -0700
committerPaul Eggert2013-08-27 12:36:28 -0700
commitd486344e6fd74e4769cc7b3d09a1ea87387c5a11 (patch)
treee9ff0c112e6dbec49258aabe30122b389f9b6f20 /src/xmenu.c
parentb73517d9ecf5efeea0d6cbde56730132f5e1b611 (diff)
downloademacs-d486344e6fd74e4769cc7b3d09a1ea87387c5a11.tar.gz
emacs-d486344e6fd74e4769cc7b3d09a1ea87387c5a11.zip
Simplify SELECT_TYPE-related code.
Like EMACS_TIME, this portability layer is no longer needed, since Emacs has been using fd_set as a portability layer for some time. * sysselect.h (FD_SETSIZE): Rename from MAXDESC. All uses changed. (SELECT_TYPE): Remove. All uses changed to fd_set. (fd_set) [!FD_SET]: New typedef.
Diffstat (limited to 'src/xmenu.c')
-rw-r--r--src/xmenu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmenu.c b/src/xmenu.c
index 98473939373..823c63bfc6f 100644
--- a/src/xmenu.c
+++ b/src/xmenu.c
@@ -378,7 +378,7 @@ x_menu_wait_for_event (void *data)
378 ) 378 )
379 { 379 {
380 struct timespec next_time = timer_check (), *ntp; 380 struct timespec next_time = timer_check (), *ntp;
381 SELECT_TYPE read_fds; 381 fd_set read_fds;
382 struct x_display_info *dpyinfo; 382 struct x_display_info *dpyinfo;
383 int n = 0; 383 int n = 0;
384 384