Merge pull request #1356 from maxice8/fix-musl

don't assume __linux__ means __GLIBC__ on BACKTRACES_ENABLE
This commit is contained in:
Yann Collet 2018-10-08 16:43:30 -07:00 committed by GitHub
commit 4083bdc8f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,7 @@
#endif
#if !defined(BACKTRACES_ENABLE) && \
(defined(__linux__) || (defined(__APPLE__) && defined(__MACH__)) )
(defined(__GLIBC__) || (defined(__APPLE__) && defined(__MACH__)) )
# define BACKTRACES_ENABLE 1
#endif