#ifndef DMLC_BUILD_CONFIG_H_
#define DMLC_BUILD_CONFIG_H_

#cmakedefine DMLC_FOPEN_64_PRESENT

#if !defined(DMLC_FOPEN_64_PRESENT) && DMLC_USE_FOPEN64
  #define DMLC_EMIT_FOPEN64_REDEFINE_WARNING
  #define fopen64 std::fopen
#endif

#cmakedefine DMLC_CXXABI_H_PRESENT
#cmakedefine DMLC_EXECINFO_H_PRESENT

#if (defined DMLC_CXXABI_H_PRESENT) && (defined DMLC_EXECINFO_H_PRESENT)
  #define DMLC_LOG_STACK_TRACE 1
  #define DMLC_LOG_STACK_TRACE_SIZE 10
  #cmakedefine DMLC_EXECINFO_H <${DMLC_EXECINFO_H}>
#endif

#cmakedefine DMLC_NANOSLEEP_PRESENT

#define DMLC_CMAKE_LITTLE_ENDIAN ${DMLC_CMAKE_LITTLE_ENDIAN}

#endif  // DMLC_BUILD_CONFIG_H_
