X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fsysdep.h;h=0377029e6e77f5d9b037ab6c787e11be2e979e79;hp=84301b78a9f563a27797554ba98f0911f01a17c3;hb=d763f8bf6d6e13ce006ffab616cc8a77e747a633;hpb=8e9648a972b88fa6eb2293383bd281c6021394d2 diff --git a/src/sysdep.h b/src/sysdep.h index 84301b78..0377029e 100644 --- a/src/sysdep.h +++ b/src/sysdep.h @@ -41,6 +41,10 @@ as that of the covered work. */ # endif #endif +#if defined(__INTERIX) && !defined(_ALL_SOURCE) +# define _ALL_SOURCE +#endif + /* The "namespace tweaks" below attempt to set a friendly "compilation environment" under popular operating systems. Default compilation environment often means that some functions that are "extensions" @@ -57,7 +61,7 @@ as that of the covered work. */ # define NAMESPACE_TWEAKS #endif -#ifdef __linux__ +#if defined(__linux__) || defined(__GLIBC__) # define NAMESPACE_TWEAKS #endif