mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
Apply the make magic wand to pick an osdep-*.c file rather than using ifdefs.
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
/* $Id: osdep-darwin.c,v 1.9 2009-02-13 00:43:04 nicm Exp $ */
|
||||
/* $Id: osdep-darwin.c,v 1.10 2009-04-29 23:07:35 nicm Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2009 Joshua Elsasser <josh@elsasser.org>
|
||||
@ -16,8 +16,6 @@
|
||||
* OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifdef __APPLE__
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/sysctl.h>
|
||||
|
||||
@ -47,5 +45,3 @@ osdep_get_name(int fd, unused char *tty)
|
||||
|
||||
return (strdup(kp.kp_proc.p_comm));
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user