[Rcpp-commits] r3586 - pkg/Rcpp/src
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Sun Apr 22 22:35:24 CEST 2012
Author: edd
Date: 2012-04-22 22:35:24 +0200 (Sun, 22 Apr 2012)
New Revision: 3586
Modified:
pkg/Rcpp/src/debugging.cpp
Log:
also update a comment
Modified: pkg/Rcpp/src/debugging.cpp
===================================================================
--- pkg/Rcpp/src/debugging.cpp 2012-04-22 16:36:47 UTC (rev 3585)
+++ pkg/Rcpp/src/debugging.cpp 2012-04-22 20:35:24 UTC (rev 3586)
@@ -22,8 +22,7 @@
#include <Rcpp.h>
#if defined(__GNUC__)
-#if defined(WIN32) || defined(__FreeBSD__) || defined(__NetBSD__) || \
- defined(__OpenBSD__) || defined(__CYGWIN__)
+#if defined(WIN32) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__CYGWIN__)
// Simpler version for Windows and *BSD
SEXP stack_trace( const char* file, int line ){
Rcpp::List trace = Rcpp::List::create(
@@ -33,7 +32,7 @@
trace.attr("class") = "Rcpp_stack_trace" ;
return trace ;
}
-#else // ! (defined(WIN32) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
+#else // ! (defined(WIN32) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__CYGWIN__)
#include <execinfo.h>
#include <cxxabi.h>
More information about the Rcpp-commits
mailing list