From d2fab937f7a96de01b018b162151da3ced46bfdc Mon Sep 17 00:00:00 2001 From: Martin Pulec Date: Mon, 14 Apr 2025 09:53:19 +0200 Subject: [PATCH] host/mtrace: use only if using glibc --- src/host.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/host.cpp b/src/host.cpp index 72914c54c..09d4de031 100644 --- a/src/host.cpp +++ b/src/host.cpp @@ -135,7 +135,7 @@ extern "C" { } #endif -#ifdef __linux__ +#ifdef __gnu_linux__ #include #endif @@ -213,7 +213,7 @@ void common_cleanup(struct init_data *init) } delete init; -#ifdef __linux__ +#ifdef __gnu_linux__ muntrace(); #endif @@ -519,7 +519,7 @@ struct init_data *common_preinit(int argc, char *argv[]) ug_rand_init(); -#ifdef __linux__ +#ifdef __gnu_linux__ mtrace(); #endif