Skip to content

Commit 17a6ded

Browse files
committed
do not include execinfo.h on AIX either
1 parent 0db94ad commit 17a6ded

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2014-11-01 Dirk Eddelbuettel <edd@debian.org>
2+
3+
* src/api.cpp: Do not include execinfo.h on AIX, per r-devel discussion
4+
with Mike Beddo, and http://sf.net/p/predef/wiki/OperatingSystems/
5+
16
2014-10-29 Dirk Eddelbuettel <edd@debian.org>
27

38
* inst/include/Rcpp/Rmath.h: Comment out R::[dpqr]nbinom_mu functions as

src/api.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
//
44
// api.cpp: Rcpp R/C++ interface class library -- Rcpp api
55
//
6-
// Copyright (C) 2012 - 2013 Dirk Eddelbuettel and Romain Francois
6+
// Copyright (C) 2012 - 2014 Dirk Eddelbuettel and Romain Francois
77
//
88
// This file is part of Rcpp.
99
//
@@ -34,7 +34,8 @@ using namespace Rcpp ;
3434
#endif
3535

3636
#if defined(__GNUC__)
37-
#if defined(WIN32) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__CYGWIN__) || defined(__sun)
37+
#if defined(WIN32) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__CYGWIN__) || defined(__sun) || define(_AIX)
38+
// do nothing
3839
#else
3940
#include <execinfo.h>
4041

0 commit comments

Comments
 (0)