File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ using namespace Rcpp;
3434#endif 
3535
3636#if  defined(__GNUC__)
37-     #if  defined(_WIN32) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__CYGWIN__) || defined(__sun) || defined(_AIX)
37+     #if  defined(_WIN32) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__CYGWIN__) || defined(__sun) || defined(_AIX) || !defined(__GLIBC__) 
3838        //  do nothing
3939    #else 
4040        #include  < execinfo.h> 
@@ -257,7 +257,7 @@ SEXP rcpp_can_use_cxx11() {
257257//  [[Rcpp::register]]
258258SEXP stack_trace (const  char * file, int  line) {
259259    #if  defined(__GNUC__)
260-         #if  defined(_WIN32) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__CYGWIN__) || defined(__sun) || defined(_AIX)
260+         #if  defined(_WIN32) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__CYGWIN__) || defined(__sun) || defined(_AIX) || !defined(__GLIBC__) 
261261            //  Simpler version for Windows and *BSD
262262            List trace = List::create (_[" file" 
263263                                      _[ " line" 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments