Mercurial > hg > xemacs-beta
diff src/sysdep.c @ 777:e65d9cf16707
[xemacs-hg @ 2002-03-15 11:00:28 by ben]
config.h.in, sysdep.c, sysfile.h, systime.h: add HAVE_SYS_TIMES_H and use it to include sys/times.h, used for
struct tms in new POSIX() function times().
mule\mule-charset.el, obsolete.el, subr.el: Put back
previously-deleted truncate-string-to-width. Move other
non-Mule-specific stuff into subr.el or obsolete.el.
configure.in: check for sys/times.h.
author | ben |
---|---|
date | Fri, 15 Mar 2002 11:00:56 +0000 |
parents | 943eaba38521 |
children | a5954632b187 |
line wrap: on
line diff
--- a/src/sysdep.c Fri Mar 15 07:43:43 2002 +0000 +++ b/src/sysdep.c Fri Mar 15 11:00:56 2002 +0000 @@ -1,7 +1,7 @@ /* Interfaces to system-dependent kernel and library entries. Copyright (C) 1985-1988, 1992-1995 Free Software Foundation, Inc. Copyright (C) 1995 Tinker Systems. - Copyright (C) 2000, 2001 Ben Wing. + Copyright (C) 2000, 2001, 2002 Ben Wing. This file is part of XEmacs. @@ -3486,6 +3486,7 @@ { #if defined (_SC_CLK_TCK) || defined (CLK_TCK) && !defined(WIN32_NATIVE) /* We have the POSIX times() function available. */ + /* #### Perhaps we should just use a configure test for times()? */ struct tms tttt; times (&tttt); *user_ticks = (long) tttt.tms_utime;