Skip to content

Commit

Permalink
conditional defines
Browse files Browse the repository at this point in the history
  • Loading branch information
shikokuchuo committed Sep 6, 2024
1 parent 381fc9e commit e70eba0
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@
^docs$
^pkgdown$
^codecov\.yml$
^compile_commands\.json$
^\.cache$
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@
.Ruserdata
inst/doc
docs
compile_commands.json
.cache
1 change: 1 addition & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,4 @@ Suggests:
VignetteBuilder: knitr
RoxygenNote: 7.3.2
Config/testthat/edition: 3
Config/build/compilation-database: true
4 changes: 4 additions & 0 deletions src/shikokuchuo.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,12 @@

// ichimoku - Functions Utilising R's C API ------------------------------------

#ifndef R_NO_REMAP
#define R_NO_REMAP
#endif
#ifndef STRICT_R_HEADERS
#define STRICT_R_HEADERS
#endif
#include <R.h>
#include <Rinternals.h>
#include <R_ext/Visibility.h>
Expand Down

0 comments on commit e70eba0

Please sign in to comment.