Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH} define _GNU_SOURCE on Cygwin



Jun T. wrote on Wed, Oct 26, 2016 at 19:04:08 +0900:
> Cygwin now started to require _XOPEN_SOURCE also for
> wcwidth() (in addition to strptime(); cf. worker/38862).
> 
> Since wcwidth() is used in may files, I think it would be
> better to define _GNU_SOURCE in zsh_system.h.
> 
> (defining _XOPEN_SOURCE alone hides may other function)

The patch causes _XOPEN_SOURCE to no longer be defined, ever.

Is this okay for both old and new cygwin?  I.e., does this patch work
for people compiling new zsh on old cygwin?



Messages sorted by: Reverse Date, Date, Thread, Author