Skip to content
Snippets Groups Projects
Commit 563259c1 authored by Mick Jordan's avatar Mick Jordan
Browse files

undefine USE_R_INTERNALS for FastR; add -DFastR to g++ compilations

parent 27e65f2b
Branches
No related tags found
No related merge requests found
g/R_HOME/s/R_HOME/FASTR_R_HOME/
/^CFLAGS/s/$/ -DFASTR/
/^CXXFLAGS/s/$/ -DFASTR/
w
q
/USE_RINTERNALS section/
i
#ifdef FASTR
#undef USE_R_INTERNALS
#else
.
+1
a
#endif
.
/typedef struct SEXPREC \*SEXP;/
i
#ifdef FASTR
......@@ -44,7 +54,7 @@ a
/R_NamespaceRegistry/
i
#ifdef FASTR
LibExtern SEXP FASTR_R_NamespaceRegistry();
LibExtern SEXP FASTR_NamespaceRegistry();
#define R_NamespaceRegistry FASTR_NamespaceRegistry()
#else
.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment