Skip to content

Commit

Permalink
Fix compilation on DragonFlyBSD (#1338)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborcsardi authored Oct 26, 2024
1 parent c91eb89 commit 0837acd
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2024-10-26 Gábor Csárdi <csardi.gabor@gmail.com>

* inst/include/Rcpp/exceptions_impl.h: check for DragonFlyBSD to fix compilation

2024-10-07 Iñaki Ucar <iucar@fedoraproject.org>

* inst/include/Rcpp/platform/compiler.h: Uncomment HAS_VARIADIC_TEMPLATES
Expand Down
19 changes: 10 additions & 9 deletions inst/include/Rcpp/exceptions_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,16 @@

// disable demangler on platforms where we have no support
#ifndef RCPP_DEMANGLER_ENABLED
# if defined(_WIN32) || \
defined(__FreeBSD__) || \
defined(__NetBSD__) || \
defined(__OpenBSD__) || \
defined(__CYGWIN__) || \
defined(__sun) || \
defined(_AIX) || \
defined(__MUSL__) || \
defined(__HAIKU__) || \
# if defined(_WIN32) || \
defined(__FreeBSD__) || \
defined(__NetBSD__) || \
defined(__OpenBSD__) || \
defined(__DragonFly__) || \
defined(__CYGWIN__) || \
defined(__sun) || \
defined(_AIX) || \
defined(__MUSL__) || \
defined(__HAIKU__) || \
defined(__ANDROID__)
# define RCPP_DEMANGLER_ENABLED 0
# elif defined(__GNUC__) || defined(__clang__)
Expand Down

0 comments on commit 0837acd

Please sign in to comment.