ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/ptytty.h
(Generate patch)

Comparing rxvt-unicode/src/ptytty.h (file contents):
Revision 1.19 by root, Sun Jan 22 01:00:46 2006 UTC vs.
Revision 1.22 by sf-exg, Wed Jul 21 08:47:15 2010 UTC

5#define PTYTTY_H 5#define PTYTTY_H
6 6
7#include "libptytty.h" 7#include "libptytty.h"
8#include "ptytty_conf.h" 8#include "ptytty_conf.h"
9 9
10#if PTYTTY_REENTRANT
11# define PTYTTY_NO_PID_CHECK 1
12#endif
13
10#if defined(HAVE__GETPTY) || defined(HAVE_OPENPTY) || defined(UNIX98_PTY) 14#if defined(HAVE__GETPTY) || defined(HAVE_OPENPTY) || defined(UNIX98_PTY)
11# define NO_SETOWNER_TTYDEV 1 15# define NO_SETOWNER_TTYDEV 1
12#endif 16#endif
13 17
14#if UTMP_SUPPORT 18#if UTMP_SUPPORT
15# if !defined(UTMPX_FILE) || !defined(HAVE_STRUCT_UTMPX) || defined(__GLIBC__) 19# if !defined(HAVE_STRUCT_UTMPX) || defined(__GLIBC__)
16# undef HAVE_UTMPX_H 20# undef HAVE_UTMPX_H
17# undef HAVE_STRUCT_UTMPX 21# undef HAVE_STRUCT_UTMPX
18# endif 22# endif
19# if !defined(UTMP_FILE) || !defined(HAVE_STRUCT_UTMP) 23# if !defined(UTMP_FILE) || !defined(HAVE_STRUCT_UTMP)
20# undef HAVE_UTMP_H 24# undef HAVE_UTMP_H
47# endif 51# endif
48# endif 52# endif
49 53
50#endif 54#endif
51 55
56#define fatal(msg) do { write (2, msg, sizeof (msg) - 1); _exit (255); } while (0)
57
52struct ptytty_unix : ptytty 58struct ptytty_unix : ptytty
53{ 59{
54 char *name; 60 char *name;
55 61
56public: 62public:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines