Re: BSD detection

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.

This is in SVN rev 130.  Check that it compiles right.

#if (defined(__unix__) || defined(unix)) && !defined(USG)
#include <sys/param.h>  // to get BSD define
#ifdef __WXMAC_OSX__
#ifndef BSD
#define BSD 1

9,428 total views, 7 views today