* 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.
This commit is contained in:
@ -17,7 +17,10 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define ut_name ut_user
|
||||
#ifndef ut_name
|
||||
#define ut_name ut_user
|
||||
#endif
|
||||
|
||||
|
||||
struct utmp
|
||||
{
|
||||
|
Reference in New Issue
Block a user