[Rcpp-commits] r3040 - in pkg/RcppArmadillo: . inst/include
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Mon May 30 16:27:18 CEST 2011
Author: edd
Date: 2011-05-30 16:27:18 +0200 (Mon, 30 May 2011)
New Revision: 3040
Modified:
pkg/RcppArmadillo/ChangeLog
pkg/RcppArmadillo/inst/include/RcppArmadilloConfig.h
Log:
Accomodate FreeBSD's snprintf
Modified: pkg/RcppArmadillo/ChangeLog
===================================================================
--- pkg/RcppArmadillo/ChangeLog 2011-05-29 23:32:55 UTC (rev 3039)
+++ pkg/RcppArmadillo/ChangeLog 2011-05-30 14:27:18 UTC (rev 3040)
@@ -1,3 +1,8 @@
+2011-05-30 Dirk Eddelbuettel <edd at debian.org>
+
+ * inst/include/RcppArmadilloConfig.h: Enable sprintf on FreeBSD by
+ undefining ARMA_HAVE_STD_SNPRINTF thanks to patch by Rainer Hurling
+
2011-05-27 Dirk Eddelbuettel <edd at debian.org>
* DESCRIPTION: Release 0.2.21
Modified: pkg/RcppArmadillo/inst/include/RcppArmadilloConfig.h
===================================================================
--- pkg/RcppArmadillo/inst/include/RcppArmadilloConfig.h 2011-05-29 23:32:55 UTC (rev 3039)
+++ pkg/RcppArmadillo/inst/include/RcppArmadilloConfig.h 2011-05-30 14:27:18 UTC (rev 3040)
@@ -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
More information about the Rcpp-commits
mailing list