mirror of
https://github.com/tmate-io/tmate.git
synced 2025-04-14 22:48:40 +02:00
FreeBSD lacks TTY_NAME_MAX.
This commit is contained in:
parent
25e94a0526
commit
14fdb49c19
6
tmux.h
6
tmux.h
@ -1,4 +1,4 @@
|
|||||||
/* $Id: tmux.h,v 1.63 2007-10-23 09:36:19 nicm Exp $ */
|
/* $Id: tmux.h,v 1.64 2007-10-23 10:21:59 nicm Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||||
@ -40,6 +40,10 @@ extern char *__progname;
|
|||||||
#define __packed __attribute__ ((__packed__))
|
#define __packed __attribute__ ((__packed__))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef TTY_NAME_MAX
|
||||||
|
#define TTY_NAME_MAX 32
|
||||||
|
#endif
|
||||||
|
|
||||||
#define MAXNAMELEN 32
|
#define MAXNAMELEN 32
|
||||||
#define MAXTITLELEN 192
|
#define MAXTITLELEN 192
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user