This commit is contained in:
tqchen
2014-09-01 17:23:44 -07:00
parent 0c5f2b9409
commit 0d5debcc25
2 changed files with 7 additions and 3 deletions

View File

@@ -7,9 +7,13 @@
*/
#define _CRT_SECURE_NO_WARNINGS
#include <cstdio>
#include <cstdarg>
#include <string>
#include <cstdlib>
#ifndef XGBOOST_STRICT_CXX98_
#include <cstdarg>
#endif
#if !defined(__GNUC__)
#define fopen64 fopen
#endif
@@ -72,7 +76,7 @@ inline void HandlePrint(const char *msg) {
printf("%s", msg);
}
#else
#ifndef XGBOOST_STRICT_CXX98__
#ifndef XGBOOST_STRICT_CXX98_
// include declarations, some one must implement this
void HandleAssertError(const char *msg);
void HandleCheckError(const char *msg);