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
release-v0.7.1.0
Martijn Otto 5 years ago
parent dbe31f63e1
commit 5bcbd97488
No known key found for this signature in database
GPG Key ID: D2E0D5D0B1D606F9

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

Loading…
Cancel
Save