Skip to content

Commit

Permalink
Redefine R_NO_REMAP only if not defined
Browse files Browse the repository at this point in the history
  • Loading branch information
eddelbuettel authored Jan 14, 2025
1 parent 61f0fa4 commit dd42e82
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 dd42e82

Please sign in to comment.