Hi,

I'm having some troubles compiling zstd and the issue appears to revolve around the lack of "__USE_MISC" being declared.

In glibc they declare __USE_MISC if there is defined __DEFAULT_SOURCE, see features.h:369 (ish):

#if defined _DEFAULT_SOURCE
# define __USE_MISC     1
#endif


However, we don't declare this in uclibc_ng and seem to have some quite different handling around __DEFAULT_SOURCE

I have zero idea what is supposed to be happening with these macros, so I don't feel qualified to suggest a solution, but it appears to cause problems for at least openrc and zstd now. Could someone please review these macros and if appropriate for uclibc_ng, please also define __USE_MISC for the case of __DEFAULT_SOURCE in features.h

Thanks

Ed W


_______________________________________________
devel mailing list
[email protected]
https://mailman.uclibc-ng.org/cgi-bin/mailman/listinfo/devel

Reply via email to