diff --git a/include/LightGBM/R_object_helper.h b/include/LightGBM/R_object_helper.h index a5e9c5d61604..a3cf2f32ea77 100644 --- a/include/LightGBM/R_object_helper.h +++ b/include/LightGBM/R_object_helper.h @@ -15,12 +15,6 @@ #include -#ifdef LGB_R_BUILD - #define R_NO_REMAP - #define R_USE_C99_IN_CXX - #include -#endif - #define TYPE_BITS 5 // use .Internal(internalsID()) to uuid #define R_INTERNALS_UUID "2fdf6c18-697a-4ba7-b8ef-11c0d92f1327" diff --git a/include/LightGBM/lightgbm_R.h b/include/LightGBM/lightgbm_R.h index 2ac05384d87e..076ea2946384 100644 --- a/include/LightGBM/lightgbm_R.h +++ b/include/LightGBM/lightgbm_R.h @@ -8,10 +8,6 @@ #include #include -#define R_NO_REMAP -#define R_USE_C99_IN_CXX -#include - /*! * \brief get string message of the last error * all functions in this file will return 0 on success