Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: RcppThread
Title: R-Friendly Threading in C++
Version: 2.1.7
Version: 2.1.8
Authors@R: c(
person("Thomas", "Nagler",, "mail@tnagler.com", role = c("aut", "cre"),
comment = c(ORCID = "0000-0003-1855-0046"))
Expand Down
6 changes: 6 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# RcppThread 2.1.8

BUG FIX

* Fixed compilation warning about R_NO_REMAP being defined multiple times (thanks @tylermorganwall)

# RcppThread 2.1.7

BUG FIX
Expand Down
2 changes: 2 additions & 0 deletions inst/include/RcppThread/RMonitor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
#pragma once

// R API
#ifndef R_NO_REMAP
#define R_NO_REMAP
#endif
#include "Rinternals.h"
#include "R.h"

Expand Down
2 changes: 2 additions & 0 deletions src/detectCores.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#include <thread>

#ifndef R_NO_REMAP
#define R_NO_REMAP
#endif

#include <R.h>
#include <Rdefines.h>
Expand Down
Loading