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:
Joseph Wang 2008-04-26 06:33:08 +00:00
commit fd6be0ba40

View file

@ -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)