Skip to content

Commit

Permalink
Avoid redefining R_NO_REMAP
Browse files Browse the repository at this point in the history
  • Loading branch information
asardaes committed Jul 2, 2024
1 parent 74746f2 commit d432760
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/centroids/R-gateways.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

#define R_NO_REMAP
#include <Rinternals.h>
#undef R_NO_REMAP

namespace dtwclust {

Expand Down
1 change: 1 addition & 0 deletions src/distances/R-gateways.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

#define R_NO_REMAP
#include <Rinternals.h>
#undef R_NO_REMAP

namespace dtwclust {

Expand Down
1 change: 1 addition & 0 deletions src/distmat/R-gateways.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

#define R_NO_REMAP
#include <Rinternals.h>
#undef R_NO_REMAP

namespace dtwclust {

Expand Down
1 change: 0 additions & 1 deletion src/distmat/distmat.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

#include <memory> // *_ptr

#define R_NO_REMAP
#include <RcppParallel.h>
#include <Rinternals.h>

Expand Down
1 change: 1 addition & 0 deletions src/tadpole/R-gateways.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

#define R_NO_REMAP
#include <Rinternals.h>
#undef R_NO_REMAP

namespace dtwclust {

Expand Down
1 change: 1 addition & 0 deletions src/utils/R-gateways.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

#define R_NO_REMAP
#include <Rinternals.h>
#undef R_NO_REMAP

namespace dtwclust {

Expand Down

0 comments on commit d432760

Please sign in to comment.