$NetBSD: patch-boost_context_fcontext.hpp,v 1.2 2013/02/12 21:07:22 adam Exp $ Add support for SPARC. --- boost/context/fcontext.hpp.orig 2012-10-31 11:07:06.000000000 +0100 +++ boost/context/fcontext.hpp 2012-10-31 13:31:48.000000000 +0100 @@ -59,6 +59,9 @@ || defined(__ppc__) || defined(_ARCH_PPC) || defined(__POWERPC__) \ || defined(__PPCGECKO__) || defined(__PPCBROADWAY) || defined(_XENON) # include +#elif defined(__sparc__) +// sparc or sparc64 +# include #else # error "platform not supported" #endif