Yorick Hardy a écrit :
Changelog: Use SHN_UNDEF instead of STN_UNDEF when it is defined
           and STN_UNDEF is not. Fixes compiling on NetBSD 1.6.


Kind regards,


both STN_UNDEF and SHN_UNDEF exist in ELF definition and are meant to be used in different cases, which your patch mixes. Hence the fix is wrong (even if by change STN_UNDEF and SHN_UNDEF both are defined as 0)
So, I'd rather suggest something (at the top of the file) as
#ifndef STN_UNDEF
# define STN_UNDEF 0
#endif


A+




Reply via email to