FreeBSD does not have fopen64 (as of 10.3). Detect it and replace with (#29)

fopen.
This commit is contained in:
elferdo 2016-08-20 17:35:01 +02:00 committed by Tianqi Chen
parent 2dd7476ad7
commit 7e15fdd9c6

View File

@ -16,7 +16,7 @@
#include <cstdarg>
#endif
#if !defined(__GNUC__)
#if !defined(__GNUC__) || defined(__FreeBSD__)
#define fopen64 std::fopen
#endif
#ifdef _MSC_VER