macOS is not truly BSD... it's mach and so while there are a lot of 
similarities, one cannot equate the 2... this just may be one of those areas 
where macOS/Mach != BSD

> On Mar 15, 2019, at 2:39 PM, William A Rowe Jr <wr...@rowe-clan.net> wrote:
> 
> That's outstanding, thanks again for sharing your config! Thanks Jim for the 
> Apple fix.
> 
> Since we didn't see your environment as Darwin, it was treated as a generic 
> BSD. Which, still should have worked, but we clearly have a flaw on BSD 
> environments in general, as Stefan has reported.
> 
> Brings me back to the question, Stefan could you share your 
> config.log/config.status, and resulting app.h file, so I can diagnose the 
> misassumption here?
> 
> 
> 
> 
> On Fri, Mar 15, 2019, 06:44 wuzhouhui <wuzhouhu...@mails.ucas.ac.cn 
> <mailto:wuzhouhu...@mails.ucas.ac.cn>> wrote:
> 
> > On Mar 15, 2019, at 8:02 AM, Jim Jagielski <j...@jagunet.com> wrote:
> > 
> > Yeppers. It's because gcc for Homebrew still sets DARWIN automatically 
> > whereas for clang (Xcode), the canon macro is now __APPLE__
> > 
> > I've updated all APR's to be aware of __APPLE__ and, if set, it auto 
> > defines DARWIN and DARWIN_10 in apr.h
> > 
> > This should fix the issues w/ all compilers.
> 
> I patch apr-1.6.5 with r1855560 that jim committed, and no warning produced.
> 

Reply via email to