Skip to content

Commit

Permalink
Merge pull request #1710 from eddelbuettel/patch-1
Browse files Browse the repository at this point in the history
Redefine R_NO_REMAP only if not defined
  • Loading branch information
t-kalinowski authored Jan 14, 2025
2 parents 61f0fa4 + dd42e82 commit 932589f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pending_py_calls_notifier.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
// nicely like <windows.h>, <unistd.h>, etc.
#include "tinythread.h"

#ifndef R_NO_REMAP
#define R_NO_REMAP
#endif
#include <R.h> // R-devel (4.5) errors if you include Rinternals.h but not R.h in c++ modules.
#include <Rinternals.h>

Expand Down

0 comments on commit 932589f

Please sign in to comment.