Skip to content

Instantly share code, notes, and snippets.

@vkotovv vkotovv/base.h
Created May 26, 2017

Embed
What would you like to do?
Undefine DMLC_LOG_STACK_TRACE for dmlc-core
/*!
* \brief Wheter to print stack trace for fatal error,
* enabled on linux when using gcc.
*/
#if (!defined(DMLC_LOG_STACK_TRACE) && defined(__GNUC__) && !defined(__MINGW32__))
#define DMLC_LOG_STACK_TRACE 1
#undef DMLC_LOG_STACK_TRACE
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.