Skip to content

Commit

Permalink
Use R_NO_REMAP
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Mar 31, 2023
1 parent fea55e8 commit 6f7e981
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lazyeval.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Require R_ and Rf_ prefixes for R API
#define R_NO_REMAP

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

Expand Down
3 changes: 3 additions & 0 deletions src/rinterface.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@

#include "config.h"

// Require R_ and Rf_ prefixes for R API
#define R_NO_REMAP

#include <R.h>
#include <Rinternals.h>
#include <Rdefines.h>
Expand Down
3 changes: 3 additions & 0 deletions src/rinterface_extra.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@

#include "config.h"

// Require R_ and Rf_ prefixes for R API
#define R_NO_REMAP

#include <R.h>
#include <Rinternals.h>
#include <Rdefines.h>
Expand Down
3 changes: 3 additions & 0 deletions src/rrandom.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
*/

// Require R_ and Rf_ prefixes for R API
#define R_NO_REMAP

#include <Rmath.h>

#include "igraph_random.h"
Expand Down

0 comments on commit 6f7e981

Please sign in to comment.