Skip to content

Commit

Permalink
Merge pull request #725 from MichaelChirico/patch-3
Browse files Browse the repository at this point in the history
Add an alias of STRING_PTR_RO-->STRING_PTR in R<3.5.0
  • Loading branch information
gaborcsardi authored Feb 10, 2025
2 parents 8320914 + 1390dc2 commit 48f0712
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/cli.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
#include <Rinternals.h>
#include <Rversion.h>

#if R_VERSION < R_Version(3, 5, 0)
# define STRING_PTR_RO(x) STRING_PTR(x)
#endif

SEXP clic_diff_chr(SEXP a, SEXP b, SEXP max);

SEXP clic_getppid(void);
Expand Down

0 comments on commit 48f0712

Please sign in to comment.