--- inst/include/RcppArmadilloConfig.h.origin 2011-05-27 17:18:47.000000000 +0200 +++ inst/include/RcppArmadilloConfig.h 2011-05-30 13:53:25.000000000 +0200 @@ -37,7 +37,7 @@ /* TODO: we might need to undef this on other platforms as well */ -#if defined(__GNUC__) && defined(_WIN64) +#if defined(__GNUC__) && defined(_WIN64) || defined(__FreeBSD__) #undef ARMA_HAVE_STD_SNPRINTF #endif