Put in ifdef for 2.7
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10390 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
7b37f04c7a
commit
fd6be0ba40
1 changed files with 5 additions and 1 deletions
|
|
@ -18,7 +18,11 @@ extern "C" {
|
|||
|
||||
#define SWIGR 1
|
||||
|
||||
#if R_VERSION >= R_Version(2,6,0)
|
||||
#if R_VERSION >= R_Version(2,7,0)
|
||||
#define VMAXTYPE void *
|
||||
#define RVERSION27(x) x
|
||||
#define RVERSIONPRE27(x)
|
||||
#elif R_VERSION >= R_Version(2,6,0)
|
||||
#define VMAXTYPE void *
|
||||
#define RVERSION26(x) x
|
||||
#define RVERSIONPRE26(x)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue