diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2005-03-04 01:08:12 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2005-03-04 01:08:12 +0300 |
commit | 6b76b0c5d4cfa2ba26b33ce375f83642eb071600 (patch) | |
tree | 6ba0d85073a00fb816bcea853d0797b99a9de89f /winsup/cygwin/include/sys | |
parent | 33aca5632219e9ca6ca44b6257c53618249bf3c3 (diff) |
* cygwin.din (utmpxname): Export.
* syscalls.cc (utmpxname): Create export alias to utmpname.
* include/utmpx.h: Define ut_name and ut_xtime if not already defined.
(utmpxname): Add prototype.
* include/sys/utmp.h: Only define ut_name if not already defined.
* include/cygwin/version.h: Bump API minor version.
Diffstat (limited to 'winsup/cygwin/include/sys')
-rw-r--r-- | winsup/cygwin/include/sys/utmp.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/winsup/cygwin/include/sys/utmp.h b/winsup/cygwin/include/sys/utmp.h index ebc70b9bc..435891b18 100644 --- a/winsup/cygwin/include/sys/utmp.h +++ b/winsup/cygwin/include/sys/utmp.h @@ -17,7 +17,10 @@ extern "C" { #endif -#define ut_name ut_user +#ifndef ut_name +#define ut_name ut_user +#endif + struct utmp { |