From ef5d6dcf0c4756441b5868d8cfa1e0bdfac6bdb6 Mon Sep 17 00:00:00 2001 From: James Lamb Date: Thu, 12 Mar 2020 23:26:16 -0500 Subject: [PATCH] more cleanup --- include/LightGBM/R_object_helper.h | 6 ------ include/LightGBM/lightgbm_R.h | 4 ---- 2 files changed, 10 deletions(-) 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