Skip to content

Commit

Permalink
first include sys headers in detectCores.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
tnagler committed Jun 27, 2023
1 parent 548751c commit ec91418
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
3 changes: 1 addition & 2 deletions 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.3
Version: 2.1.4
Authors@R: c(
person("Thomas", "Nagler",, "mail@tnagler.com", role = c("aut", "cre"),
comment = c(ORCID = "0000-0003-1855-0046"))
Expand All @@ -10,7 +10,6 @@ Description: Provides a C++11-style thread class and thread pool that can safely
Depends: R (>= 3.3.0)
License: MIT + file LICENSE
Encoding: UTF-8
SystemRequirements: C++11
URL: https://github.com/tnagler/RcppThread
BugReports: https://github.com/tnagler/RcppThread/issues
RoxygenNote: 7.2.0
Expand Down
2 changes: 1 addition & 1 deletion docs/Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ PROJECT_NAME = RcppThread
# could be handy for archiving the generated documentation or if some version
# control system is used.

PROJECT_NUMBER = 2.1.2
PROJECT_NUMBER = 2.1.4

# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a
Expand Down
5 changes: 4 additions & 1 deletion src/detectCores.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
#include <thread>

#define R_NO_REMAP

#include <R.h>
#include <Rdefines.h>
#include <thread>

extern "C" {

Expand Down

0 comments on commit ec91418

Please sign in to comment.