emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: importing getloadavg from gnulib


From: Eli Zaretskii
Subject: Re: importing getloadavg from gnulib
Date: Tue, 08 Feb 2011 05:28:40 -0500

> Date: Tue, 08 Feb 2011 01:28:34 -0800
> From: Paul Eggert <address@hidden>
> CC: address@hidden
> 
> On 02/08/2011 01:02 AM, Eli Zaretskii wrote:
> 
> > However, this change in src/lisp.h:
> > 
> >> -#ifndef HAVE_GETLOADAVG
> >> -/* Defined in getloadavg.c */
> >> -extern int getloadavg (double *, int);
> >> -#endif
> > 
> > will cause the prototype of getloadavg to become unavailable in the
> > Windows build, because the Windows stdlib.h obviously does not declare
> > it.  So I think we should leave the declaration in place for the
> > Windows build at the least.
> 
> Since only Windows needs it now, how about if we move it
> to src/s/ms-w32.h?  That way, it's clearly localized to the
> Windows port.

That'd be fine.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]