mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-23 07:19:15 +00:00
revert changes to getloadavg.c
This commit is contained in:
parent
4537179d46
commit
db94bf9c7c
@ -1,3 +1,7 @@
|
||||
2008-07-17 Adrian Robert <Adrian.B.Robert@gmail.com>
|
||||
|
||||
* getloadavg.c: Revert last change (2008-07-15).
|
||||
|
||||
2008-07-17 Adrian Robert <Adrian.B.Robert@gmail.com>
|
||||
|
||||
* Makefile.in: Replace emacsapp, emacsbindir, emacsappsrc variables
|
||||
|
@ -420,7 +420,7 @@ extern int errno;
|
||||
# define host_self mach_host_self
|
||||
# endif
|
||||
|
||||
# if defined(NeXT) || defined(RHAPSODY) || defined(DARWIN) || defined(MAC_OSX)
|
||||
# ifdef NeXT
|
||||
# ifdef HAVE_MACH_MACH_H
|
||||
# include <mach/mach.h>
|
||||
# else
|
||||
@ -467,7 +467,7 @@ extern int errno;
|
||||
|
||||
/* Avoid static vars inside a function since in HPUX they dump as pure. */
|
||||
|
||||
# if defined(NeXT) || defined(RHAPSODY) || defined(DARWIN) || defined(MAC_OSX)
|
||||
# ifdef NeXT
|
||||
static processor_set_t default_set;
|
||||
static int getloadavg_initialized;
|
||||
# endif /* NeXT */
|
||||
@ -647,8 +647,7 @@ getloadavg (loadavg, nelem)
|
||||
|
||||
# endif /* __NetBSD__ */
|
||||
|
||||
# if !defined (LDAV_DONE) && ( defined (NeXT) || defined(RHAPSODY) \
|
||||
|| defined(DARWIN) || defined(MAC_OSX) )
|
||||
# if !defined (LDAV_DONE) && defined (NeXT)
|
||||
# define LDAV_DONE
|
||||
/* The NeXT code was adapted from iscreen 3.2. */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user