From 9b5a979cd9569274f937110c94aa4747412a5011 Mon Sep 17 00:00:00 2001 From: Olanti Date: Wed, 13 Sep 2023 03:13:07 +0300 Subject: [PATCH] Fix macro check --- src/debug.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/debug.cpp b/src/debug.cpp index ba05c6e78ef2..8ff9b51cad6c 100644 --- a/src/debug.cpp +++ b/src/debug.cpp @@ -114,7 +114,7 @@ static bool capturing = false; static std::string captured; -#if defined(_WIN32) and defined(LIBBACKTRACE) +#if defined(_WIN32) && defined(LIBBACKTRACE) // Get the image base of a module from its PE header static uintptr_t get_image_base( const char *const path ) {