The branch, master has been updated
via dc2af8347b5072a827d564623af8d7f10261e7f0 (commit)
from 64ea8829af8719c0dc1eb7c0d2c9933a7b3d6e04 (commit)
- Log -----------------------------------------------------------------
commit dc2af8347b5072a827d564623af8d7f10261e7f0
Author: Nicholas Marriott <[email protected]>
Commit: Nicholas Marriott <[email protected]>
New code doesn't build on old versions of OS X so only support 10.7 and
later. Reported by Jared Scheel and tested by Chris Johnsen.
---
osdep-darwin.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/osdep-darwin.c b/osdep-darwin.c
index 23de9d5..3b5e9d3 100644
--- a/osdep-darwin.c
+++ b/osdep-darwin.c
@@ -18,6 +18,7 @@
#include <sys/types.h>
+#include <Availability.h>
#include <event.h>
#include <libproc.h>
#include <stdlib.h>
@@ -33,6 +34,7 @@ struct event_base *osdep_event_init(void);
char *
osdep_get_name(int fd, unused char *tty)
{
+#ifdef __MAC_10_7
struct proc_bsdshortinfo bsdinfo;
pid_t pgrp;
int ret;
@@ -44,6 +46,7 @@ osdep_get_name(int fd, unused char *tty)
&bsdinfo, sizeof bsdinfo);
if (ret == sizeof bsdinfo && *bsdinfo.pbsi_comm != '\0')
return (strdup(bsdinfo.pbsi_comm));
+#endif
return (NULL);
}
-----------------------------------------------------------------------
Summary of changes:
osdep-darwin.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
hooks/post-receive
--
tmux
------------------------------------------------------------------------------
Own the Future-Intel® Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game
on Steam. $5K grand prize plus 10 genre and skill prizes.
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
tmux-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmux-cvs