Skip to content

Commit

Permalink
Protect another R_NO_REMAP with preceding #ifndef
Browse files Browse the repository at this point in the history
  • Loading branch information
eddelbuettel committed Jan 1, 2025
1 parent 0c749db commit 7f57e56
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2025-01-01 Dirk Eddelbuettel <edd@debian.org>

* inst/include/Rcpp/Benchmark/Timer.h (R_NO_REMAP): Protect include
with preceding #ifndef now that R 4.5.0 will set this too

2024-11-25 Dirk Eddelbuettel <edd@debian.org>

* DESCRIPTION (Version, Date): Roll micro version to 1.0.13.6
Expand Down
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: Rcpp
Title: Seamless R and C++ Integration
Version: 1.0.13.6
Date: 2024-11-25
Date: 2025-01-01
Authors@R: c(person("Dirk", "Eddelbuettel", role = c("aut", "cre"), email = "edd@debian.org",
comment = c(ORCID = "0000-0001-6419-907X")),
person("Romain", "Francois", role = "aut",
Expand Down
8 changes: 4 additions & 4 deletions inst/include/Rcpp/Benchmark/Timer.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// -*- mode: C++; c-indent-level: 4; c-basic-offset: 4; indent-tabs-mode: nil; -*-
//
// Timer.h: Rcpp R/C++ interface class library -- Rcpp benchmark utility
//
// Copyright (C) 2012 - 2014 JJ Allaire, Dirk Eddelbuettel and Romain Francois
// Copyright (C) 2012 - 2025 JJ Allaire, Dirk Eddelbuettel and Romain Francois
//
// This file is part of Rcpp.
//
Expand All @@ -26,7 +24,9 @@
#include <vector>
#include <string>

#define R_NO_REMAP
#ifndef R_NO_REMAP
#define R_NO_REMAP
#endif
#include <Rinternals.h>

#if defined(_WIN32)
Expand Down

0 comments on commit 7f57e56

Please sign in to comment.