fix travis

This commit is contained in:
tqchen
2015-07-25 21:23:40 -07:00
parent f6c82d52ec
commit 0dbac3d11e
3 changed files with 5 additions and 5 deletions

View File

@@ -181,14 +181,14 @@ const char *XGBSetGetLastError_(const char *str_set) {
#else
// crippled implementation for solaris case
// exception handling is not needed for R, so it is OK.
#define API_BEGIN()
#define API_BEGIN()
#define API_END_FINALIZE(Finalize) return 0
#define API_END() return 0
const char *XGBSetGetLastError_(const char *str_set) {
return NULL;
}
#endif
#endif // XGBOOST_STRICT_CXX98_
/*! \brief return str message of the last error */
const char *XGBGetLastError() {