Skip to content

Instantly share code, notes, and snippets.

@vkotovv
Created May 26, 2017 08:32
Show Gist options
  • Save vkotovv/0eb1e50d7e9dfef05e528bbafce8173a to your computer and use it in GitHub Desktop.
Save vkotovv/0eb1e50d7e9dfef05e528bbafce8173a to your computer and use it in GitHub Desktop.
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