mirror of
https://github.com/tmux/tmux.git
synced 2025-01-26 16:13:34 +00:00
Use __sun not __sun__ as Sun's CC doesn't define the latter.
This commit is contained in:
parent
ac95da3afc
commit
d73516c0a9
4
window.c
4
window.c
@ -1,4 +1,4 @@
|
||||
/* $Id: window.c,v 1.108 2009-09-20 22:11:27 tcunha Exp $ */
|
||||
/* $Id: window.c,v 1.109 2009-09-23 16:09:12 nicm Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||
@ -568,7 +568,7 @@ window_pane_resize(struct window_pane *wp, u_int sx, u_int sy)
|
||||
wp->mode->resize(wp, sx, sy);
|
||||
|
||||
if (wp->fd != -1 && ioctl(wp->fd, TIOCSWINSZ, &ws) == -1)
|
||||
#ifdef __sun__
|
||||
#ifdef __sun
|
||||
/*
|
||||
* Some versions of Solaris apparently can return an error when
|
||||
* resizing; don't know why this happens, can't reproduce on
|
||||
|
Loading…
Reference in New Issue
Block a user