errno.h does not properly include uCLibc_errno.h header

Carmelo AMOROSO carmelo.amoroso at st.com
Thu Jan 22 17:36:59 UTC 2009


Folks,
looking at include/errno.h I've noted that the following line:

#if defined _LIBC && ( defined IS_IN_libc || defined NOT_IN_libc )
#include <bits/uClibc_errno.h>
#endif

IIUC, we would wand to include uClibc_errno.h only if we are inside
uclibc/libc

so, I imagine we should use
#if defined _LIBC && ( defined IS_IN_libc || ! defined NOT_IN_libc )

is it right, or am I completely wrong ?

Carmelo


More information about the uClibc mailing list