On Sun, 14 Jan 2024 18:59:19 +0000
Jon Turney wrote:
> On 14/01/2024 15:20, Takashi Yano via Cygwin-apps wrote:
> > This is because FOPEN macro conflicts with the same name macro in
> > cygwin's /usr/include/sys/_default_fcntl.h.
> > 
> > I'll add comment. Thanks!
> 
> Hmm... go ahead.
> 
> How interesting. It seems like that might be also fixed by defining an 
> appropriate feature test macro e.g. _XOPEN_SOURCE, which turns off those 
> definitions in that header?

Yeah, that might be better. Thanks!

-- 
Takashi Yano <[email protected]>

Reply via email to