mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-27 04:40:59 +01:00
Pavel Roskin <proski@gnu.org>: compilation for QNX
This commit is contained in:
parent
3793c1c05b
commit
acd69a7ba3
3 changed files with 15 additions and 1 deletions
|
|
@ -44,6 +44,12 @@ enum {
|
|||
|
||||
# include "rlimits.h"
|
||||
|
||||
/* If RLIMIT_VMEM and RLIMIT_RSS are defined and equal, drop support *
|
||||
* for RLIMIT_RSS. Observed on QNX Neutrino 6.1.0. */
|
||||
#if defined(RLIMIT_RSS) && defined(RLIMIT_VMEM) && (RLIMIT_RSS == RLIMIT_VMEM)
|
||||
#undef RLIMIT_RSS
|
||||
#endif
|
||||
|
||||
# if defined(RLIM_T_IS_QUAD_T) || defined(RLIM_T_IS_LONG_LONG) || defined(RLIM_T_IS_UNSIGNED)
|
||||
static rlim_t
|
||||
zstrtorlimt(const char *s, char **t, int base)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue