aboutsummaryrefslogtreecommitdiff
path: root/external/easylogging++/ea_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'external/easylogging++/ea_config.h')
-rw-r--r--external/easylogging++/ea_config.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/external/easylogging++/ea_config.h b/external/easylogging++/ea_config.h
index 4fb48ce3e..91a671575 100644
--- a/external/easylogging++/ea_config.h
+++ b/external/easylogging++/ea_config.h
@@ -1,5 +1,7 @@
#pragma once
+#include <limits.h>
+
#define ELPP_THREAD_SAFE
#define ELPP_DEFAULT_LOG_FILE ""
#define ELPP_DISABLE_DEFAULT_CRASH_HANDLING
@@ -9,7 +11,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