wfix + ffix

This commit is contained in:
Michael Kerrisk 2008-06-29 04:56:36 +00:00
parent ff2548cada
commit 93574a8080
1 changed files with 5 additions and 4 deletions

View File

@ -90,13 +90,14 @@ struct utmp {
compiled 32- and 64-bit. This allows data files and shared compiled 32- and 64-bit. This allows data files and shared
memory to be shared between 32- and 64-bit applications. */ memory to be shared between 32- and 64-bit applications. */
#if __WORDSIZE == 64 && defined __WORDSIZE_COMPAT32 #if __WORDSIZE == 64 && defined __WORDSIZE_COMPAT32
int32_t ut_session; /* Session ID, used for windowing */ int32_t ut_session; /* Session ID, used for
windowing */
struct { struct {
int32_t tv_sec; /* Seconds */ int32_t tv_sec; /* Seconds */
int32_t tv_usec; /* Microseconds */ int32_t tv_usec; /* Microseconds */
} ut_tv; /* Time entry was made */ } ut_tv; /* Time entry was made */
#else #else
long ut_session; /* Session ID, used for windowing */ long ut_session; /* Session ID */
struct timeval ut_tv; /* Time entry was made */ struct timeval ut_tv; /* Time entry was made */
#endif #endif