[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: portability of errno?
From: |
Paul Eggert |
Subject: |
Re: portability of errno? |
Date: |
Sun, 11 Jun 2006 00:51:21 -0700 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) |
Eric Blake <address@hidden> writes:
> Now that gnulib assumes C89 or better, do we still need the code in
> strto[dl].c, unicodeio.c, and unsetenv.c that does this?
>
> #ifndef errno
> extern int errno;
> #endif
I don't think so, not any more. It used to be that we merely assumed
C89 freestanding, but nowadays I think it's safe to assume errno.h
declares or defines errno.