Merge pull request #9683

133298d Fix linking error with libunwind when build for FreeBSD with GCC, by preferring easylogging++ when GCC is being used (WHR)
This commit is contained in:
tobtoht 2025-01-18 11:11:47 +00:00
commit 94f7efd53f
No known key found for this signature in database
GPG Key ID: E45B10DD027D2472

View File

@ -26,7 +26,7 @@
// STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
// THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#if !defined __GNUC__ || defined __MINGW32__ || defined __MINGW64__ || defined __ANDROID__ || defined __FreeBSD__
#if !defined __GNUC__ || defined __clang__ || defined __MINGW32__ || defined __MINGW64__ || defined __ANDROID__
#define USE_UNWIND
#else
#define ELPP_FEATURE_CRASH_LOG 1