Re: BSD detection

Participants: dkaparis

Quote from: satoshi on August 12, 2010, 12:02:06 AM

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.