Use STRICT_R_HEADERS to remove macro conflicts with windows header files
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10122 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
8eae1cfb5a
commit
7b82429333
1 changed files with 3 additions and 0 deletions
|
|
@ -7,6 +7,9 @@ extern "C" {
|
||||||
#if !defined(SWIG_NO_R_NO_REMAP)
|
#if !defined(SWIG_NO_R_NO_REMAP)
|
||||||
# define R_NO_REMAP
|
# define R_NO_REMAP
|
||||||
#endif
|
#endif
|
||||||
|
#if !defined(SWIG_NO_STRICT_R_HEADERS)
|
||||||
|
# define STRICT_R_HEADERS
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <Rdefines.h>
|
#include <Rdefines.h>
|
||||||
#include <Rversion.h>
|
#include <Rversion.h>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue