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 ee2e385 commit 3335770
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 @@ -7,3 +7,5 @@
^pkgdown$
^\.github$
^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
docs
inst/doc
compile_commands.json
.cache
1 change: 1 addition & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ Encoding: UTF-8
Depends:
R (>= 3.5)
RoxygenNote: 7.3.2
Config/build/compilation-database: true
4 changes: 4 additions & 0 deletions src/secret.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,12 @@
#define SECRETBASE_H

#include <stdint.h>
#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 3335770

Please sign in to comment.