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.
Code:
#if (defined(__unix__) || defined(unix)) && !defined(USG) #include <sys/param.h> // to get BSD define #endif #ifdef __WXMAC_OSX__ #ifndef BSD #define BSD 1 #endif #endif
12,797 total views, 11 views today
https://bitcointalk.org/index.php?topic=790.msg8919#msg8919