Mercurial > emacs
changeset 4229:edf8c9e14e02
[_LIBC]: Just include <sys/resource.h>, and skip hairy #ifdef mess.
author | Roland McGrath <roland@gnu.org> |
---|---|
date | Thu, 22 Jul 1993 18:55:19 +0000 |
parents | f1441ca7277e |
children | df4d091e603e |
files | src/mem-limits.h |
diffstat | 1 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/mem-limits.h Thu Jul 22 10:57:46 1993 +0000 +++ b/src/mem-limits.h Thu Jul 22 18:55:19 1993 +0000 @@ -17,6 +17,12 @@ along with GNU Emacs; see the file COPYING. If not, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ +#ifdef _LIBC + +#include <sys/resource.h> + +#else + #if defined(__osf__) && (defined(__mips) || defined(mips)) #include <sys/time.h> #include <sys/resource.h> @@ -35,6 +41,8 @@ #include <sys/resource.h> #endif /* BSD4_2 */ +#endif /* _LIBC */ + #ifdef emacs /* The important properties of this type are that 1) it's a pointer, and 2) arithmetic on it should work as if the size of the object pointed