[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: strnlen.h
From: |
Paul Eggert |
Subject: |
Re: strnlen.h |
Date: |
Thu, 07 Sep 2006 16:32:07 -0700 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) |
"Mark D. Baushke" <address@hidden> writes:
> If you must check for it being defined, wouldn't this form
>
> #if !defined HAVE_DECL_STRNLEN || !HAVE_DECL_STRNLEN
In the old days we were worried about people using gnulib .c files
without using the corresponding .m4 code. In such a case,
HAVE_DECL_STRNLEN wouldn't be defined, but the code still shouldn't
declare strnlen.
These days the gnulib packaging process pretty much makes these
concerns obsolete. So it's OK to use "#if !HAVE_DECL_STRNLEN"
nowadays, I think.
- strnlen.h, Mark D. Baushke, 2006/09/07
- Re: strnlen.h,
Paul Eggert <=