1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-25 10:47:00 +00:00

[__GNU__] (NeXT, host_self):

New macros, to make hurd systems use the NeXT code for getting load averages.
This commit is contained in:
Miles Bader 1997-02-23 03:38:49 +00:00
parent e22e428338
commit 2c30b2fc06

View File

@ -1,5 +1,5 @@
/* Get the system load averages.
Copyright (C) 1985, 86, 87, 88, 89, 91, 92, 93, 1994, 1995
Copyright (C) 1985, 86, 87, 88, 89, 91, 92, 93, 1994, 1995, 1997
Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
@ -436,6 +436,12 @@ extern int errno;
# endif /* LOAD_AVE_TYPE */
# ifdef __GNU__
/* GNU hurd systems act sort of like NeXT ones, for load average purposes. */
# define NeXT
# define host_self mach_host_self
# endif
# ifdef NeXT
# ifdef HAVE_MACH_MACH_H
# include <mach/mach.h>