Re: BSD detection

Figures: dkaparis
Quote from: satoshi on August 11, 2010, 3:02:06 PM UTC

Quote #if (defined(unix) || defined(unix)) && !defined(USG) #include #endif

Will that definitely cause BSD to be defined on Mac?

Don’t know if Mac OS X is technically a BSD and I don’t have access to a Mac, maybe someone else may test it. If there are other Mac (and not BSD) specialties, then we’d need to check both for WXMAC_OSX and BSD or detect these in some other way altogether.