diff options
author | Amadeusz Sławiński <amade@asmblr.net> | 2016-05-21 21:42:36 +0200 |
---|---|---|
committer | Amadeusz Sławiński <amade@asmblr.net> | 2016-06-18 15:08:28 +0200 |
commit | 59a2d9b99c6129db27d2d73014b5ecec3d148a8c (patch) | |
tree | e789fdef57df1660e9ab61e51a1a46dc9862c845 /src/os.h | |
parent | 9c00bd5aa03ebe9fe9f62308df04967cb8926eca (diff) | |
download | screen-59a2d9b99c6129db27d2d73014b5ecec3d148a8c.tar.gz |
make utmp log windows properly
Diffstat (limited to 'src/os.h')
-rw-r--r-- | src/os.h | 19 |
1 files changed, 2 insertions, 17 deletions
@@ -80,15 +80,11 @@ * utmp handling */ -#ifdef GETUTENT - typedef char *slot_t; -#else - typedef int slot_t; -#endif - #if defined(ENABLE_UTMP) # include <utmpx.h> +typedef char* slot_t; /* used internally in utmp.c */ + # ifndef UTMPFILE # ifdef UTMPX_FILE # define UTMPXFILE UTMPX_FILE @@ -103,17 +99,6 @@ #endif /* ENABLE_UTMP */ -#ifdef LOGOUTOK -# ifndef LOGINDEFAULT -# define LOGINDEFAULT 0 -# endif -#else -# ifdef LOGINDEFAULT -# undef LOGINDEFAULT -# endif -# define LOGINDEFAULT 1 -#endif - /***************************************************************** * signal stuff */ |