[Rcpp-commits] r3054 - pkg/RcppEigen/inst/include/Eigen/src/Core/util
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Mon Jun 13 22:59:32 CEST 2011
Author: dmbates
Date: 2011-06-13 22:59:24 +0200 (Mon, 13 Jun 2011)
New Revision: 3054
Modified:
pkg/RcppEigen/inst/include/Eigen/src/Core/util/Meta.h
Log:
Suppress use of long long
Modified: pkg/RcppEigen/inst/include/Eigen/src/Core/util/Meta.h
===================================================================
--- pkg/RcppEigen/inst/include/Eigen/src/Core/util/Meta.h 2011-06-12 00:22:33 UTC (rev 3053)
+++ pkg/RcppEigen/inst/include/Eigen/src/Core/util/Meta.h 2011-06-13 20:59:24 UTC (rev 3054)
@@ -80,9 +80,10 @@
template<> struct is_arithmetic<unsigned int> { enum { value = true }; };
template<> struct is_arithmetic<signed long> { enum { value = true }; };
template<> struct is_arithmetic<unsigned long> { enum { value = true }; };
+#ifdef RCPP_HAS_LONG_LONG_TYPES
template<> struct is_arithmetic<signed long long> { enum { value = true }; };
template<> struct is_arithmetic<unsigned long long> { enum { value = true }; };
-
+#endif
template <typename T> struct add_const { typedef const T type; };
template <typename T> struct add_const<T&> { typedef T& type; };
More information about the Rcpp-commits
mailing list