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
This commit is contained in:
Martijn Otto 2019-09-23 16:30:23 +02:00
parent dbe31f63e1
commit 5bcbd97488
No known key found for this signature in database
GPG Key ID: D2E0D5D0B1D606F9
1 changed files with 1 additions and 1 deletions

View File

@ -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