Commit 2166c067 authored by Ben Boeckel's avatar Ben Boeckel

FiltersStatisticsGnuR: fix R_NO_REMAP juggling

parent 71ab7e7b
......@@ -14,6 +14,8 @@ set(Module_SRCS
find_package(R)
include_directories(${R_INCLUDE_DIR})
add_definitions(-DVTK_BUILDING_FILTERS_STATISTICSGNUR)
# Configure the module specific settings into a module configured header.
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/vtkFiltersStatisticsGnuRConfigure.h.in
${CMAKE_CURRENT_BINARY_DIR}/vtkFiltersStatisticsGnuRConfigure.h)
......
......@@ -48,6 +48,8 @@
#include <stdio.h>
#include <cassert>
#define R_NO_REMAP /* AVOID SOME SERIOUS STUPIDITY. DO NOT REMOVE. */
#include "R.h"
#include "Rdefines.h"
#include "R_ext/Parse.h"
......
......@@ -49,7 +49,9 @@
#include "vtkFiltersStatisticsGnuRModule.h" // For export macro
#include "vtkObject.h"
#ifndef VTK_BUILDING_FILTERS_STATISTICSGNUR
#define R_NO_REMAP /* Don't pollute the namespace (some of which conflict). DO NOT REMOVE. */
#endif
#include "Rinternals.h" // Needed for Rinternals.h SEXP data structure
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment