--- boost/boost_1_59_0/boost/config/platform/bsd.hpp.orig 2015-08-04 21:44:49.000000000 +1000 +++ boost/boost_1_59_0/boost/config/platform/bsd.hpp 2021-12-07 12:21:35.423069000 +1000 @@ -9,12 +9,14 @@ // generic BSD config options: -#if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__) && !defined(__DragonFly__) +#if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__OpenBSD__) && !defined(__DragonFly__) && !defined(__BSDSUniX__) #error "This platform is not BSD" #endif #ifdef __FreeBSD__ #define BOOST_PLATFORM "FreeBSD " BOOST_STRINGIZE(__FreeBSD__) +#elif defined(__BSDSUniX__) +#define BOOST_PLATFORM "BSDSUniX " BOOST_STRINGIZE(__BSDSUniX__) #elif defined(__NetBSD__) #define BOOST_PLATFORM "NetBSD " BOOST_STRINGIZE(__NetBSD__) #elif defined(__OpenBSD__) @@ -28,7 +30,7 @@ // FreeBSD has but does not // advertise the fact in : // -#if (defined(__FreeBSD__) && (__FreeBSD__ >= 3)) || defined(__DragonFly__) +#if (defined(__FreeBSD__) && (__FreeBSD__ >= 3)) || defined(__DragonFly__) || defined(__BSDSUniX__) # define BOOST_HAS_NL_TYPES_H #endif @@ -56,7 +58,7 @@ #endif #if !((defined(__FreeBSD__) && (__FreeBSD__ >= 5)) \ - || (defined(__NetBSD_GCC__) && (__NetBSD_GCC__ >= 2095003)) || defined(__DragonFly__)) + || (defined(__NetBSD_GCC__) && (__NetBSD_GCC__ >= 2095003)) || defined(__DragonFly__) || defined(__BSDSUniX__)) # define BOOST_NO_CWCHAR #endif //