[PATCH 2/7] Cygwin: Enable backward binary compatibility

Corinna Vinschen vinschen@redhat.com
Fri May 13 20:15:33 GMT 2022


On May 13 15:46, Sebastian Huber wrote:
> ---
>  winsup/cygwin/include/cygwin/config.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/winsup/cygwin/include/cygwin/config.h b/winsup/cygwin/include/cygwin/config.h
> index 71a216fbd..2d410a2e7 100644
> --- a/winsup/cygwin/include/cygwin/config.h
> +++ b/winsup/cygwin/include/cygwin/config.h
> @@ -80,6 +80,7 @@ extern inline struct _reent *__getreent (void)
>  #define __TM_GMTOFF tm_gmtoff
>  #define __TM_ZONE   tm_zone
>  #define _USE_LONG_TIME_T 1
> +#define _NEWLIB_BACKWARD_BINARY_COMPAT 1

Why?

AFAICS we don't expose _REENT to user space.  In theory (knocking
on wood here), we shouldn't need _REENT binary compat.


Thanks,
Corinna



More information about the Newlib mailing list