fine fix
This commit is contained in:
parent
0c5f2b9409
commit
0d5debcc25
2
Makefile
2
Makefile
@ -1,5 +1,5 @@
|
|||||||
export CC = gcc
|
export CC = gcc
|
||||||
export CXX = clang++
|
export CXX = g++
|
||||||
export LDFLAGS= -pthread -lm
|
export LDFLAGS= -pthread -lm
|
||||||
|
|
||||||
export CFLAGS = -Wall -O3 -msse2 -Wno-unknown-pragmas -fPIC -pedantic -ansi
|
export CFLAGS = -Wall -O3 -msse2 -Wno-unknown-pragmas -fPIC -pedantic -ansi
|
||||||
|
|||||||
@ -7,9 +7,13 @@
|
|||||||
*/
|
*/
|
||||||
#define _CRT_SECURE_NO_WARNINGS
|
#define _CRT_SECURE_NO_WARNINGS
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
#include <cstdarg>
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
|
|
||||||
|
#ifndef XGBOOST_STRICT_CXX98_
|
||||||
|
#include <cstdarg>
|
||||||
|
#endif
|
||||||
|
|
||||||
#if !defined(__GNUC__)
|
#if !defined(__GNUC__)
|
||||||
#define fopen64 fopen
|
#define fopen64 fopen
|
||||||
#endif
|
#endif
|
||||||
@ -72,7 +76,7 @@ inline void HandlePrint(const char *msg) {
|
|||||||
printf("%s", msg);
|
printf("%s", msg);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
#ifndef XGBOOST_STRICT_CXX98__
|
#ifndef XGBOOST_STRICT_CXX98_
|
||||||
// include declarations, some one must implement this
|
// include declarations, some one must implement this
|
||||||
void HandleAssertError(const char *msg);
|
void HandleAssertError(const char *msg);
|
||||||
void HandleCheckError(const char *msg);
|
void HandleCheckError(const char *msg);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user