comparison src/mem-limits.h @ 440:8de8e3f6228a r21-2-28

Import from CVS: tag r21-2-28
author cvs
date Mon, 13 Aug 2007 11:33:38 +0200
parents 3ecd8885ac67
children abe6d1db359e
comparison
equal deleted inserted replaced
439:357dd071b03c 440:8de8e3f6228a
25 HAVE_SYS_RESOURCE_H, HAVE_ULIMIT_H, HAVE_GETRLIMIT, HAVE_ULIMIT, 25 HAVE_SYS_RESOURCE_H, HAVE_ULIMIT_H, HAVE_GETRLIMIT, HAVE_ULIMIT,
26 and select action based on those values. 26 and select action based on those values.
27 getrlimit() should be preferred to ulimit(). 27 getrlimit() should be preferred to ulimit().
28 On Linux, ulimit() is deprecated and always returns -1. */ 28 On Linux, ulimit() is deprecated and always returns -1. */
29 29
30 #ifndef _XEMACS_MEM_LIMITS_H_ 30 #ifndef INCLUDED_mem_limits_h_
31 #define _XEMACS_MEM_LIMITS_H_ 31 #define INCLUDED_mem_limits_h_
32 32
33 #ifdef HAVE_CONFIG_H 33 #ifdef HAVE_CONFIG_H
34 #include <config.h> 34 #include <config.h>
35 #endif 35 #endif
36 36
218 #endif /* not WINDOWSNT */ 218 #endif /* not WINDOWSNT */
219 #endif /* not USG */ 219 #endif /* not USG */
220 #endif /* not NO_LIM_DATA */ 220 #endif /* not NO_LIM_DATA */
221 #endif /* not HEAP_IN_DATA */ 221 #endif /* not HEAP_IN_DATA */
222 222
223 #endif /* _XEMACS_MEM_LIMITS_H_ */ 223 #endif /* INCLUDED_mem_limits_h_ */