[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

sys-limits.h on illumos

From: Andy Fiddaman
Subject: sys-limits.h on illumos
Date: Thu, 3 Jan 2019 23:52:01 +0000 (UTC)

There's a compatibility problem with the guard definition used in the
sys-limits.h file that affects illumos (an opensolaris derivative) and most
likely Solaris too.

These operating systems have a /usr/include/sys/limits.h file which uses the
_SYS_LIMITS_H guard. Since the same guard is used in the gnulib sys-limits.h,
we are finding that as packages update their copies of gnulib, compilation
breaks (most recently we experienced this with coreutils, grep and tar -
usually the symptom is that SYS_BUFSIZE_MAX is not defined).

Would it be possible to replace _SYS_LIMITS_H in sys-limits.h with something
else in order to resolve this problem?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]