Skip to content

Commit e01f30a

Browse files
author
luke
committed
Another Rcpp work-around.
git-svn-id: https://svn.r-project.org/R/trunk@89152 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent 719e6ef commit e01f30a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/include/Rmath.h0.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ double qnbeta(double, double, double, double, int, int);
545545
// Rcpp 1.1.0 relies on this declaration existing
546546
double rnbeta(double, double, double);
547547
# endif
548-
#elif defined(RcppCommon_h) || defined(Rcpp_Rmath_h)
548+
#elif defined(RcppCommon_h) || defined(Rcpp_Rmath_h) || defined(__cplusplus)
549549
// Rcpp revdeps may also need this declaration to exist for now
550550
double rnbeta(double, double, double);
551551
# endif

0 commit comments

Comments
 (0)