Skip to content
Permalink
Browse files

Disable easylogging crash log on non-glibc libraries

- easylogging assumes certain non-standard headers and functions
- these function only exist in glibc
- compiling under linux without glibc thus broke compilation
  • Loading branch information...
Martijn Otto
Martijn Otto committed Sep 23, 2019
1 parent dbe31f6 commit 5bcbd974888b21af3ff46814cccef2071ffc6ceb
Showing with 1 addition and 1 deletion.
  1. +1 −1 external/easylogging++/ea_config.h
@@ -9,7 +9,7 @@
#define ELPP_UTC_DATETIME

#ifdef EASYLOGGING_CC
#if !(!defined __GNUC__ || defined __MINGW32__ || defined __MINGW64__ || defined __ANDROID__)
#if !(!defined __GLIBC__ || !defined __GNUC__ || defined __MINGW32__ || defined __MINGW64__ || defined __ANDROID__)
#define ELPP_FEATURE_CRASH_LOG
#endif
#endif

0 comments on commit 5bcbd97

Please sign in to comment.
You can’t perform that action at this time.