diff options
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/logs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/logs.c b/src/core/logs.c index 453eaff..8319f4c 100644 --- a/src/core/logs.c +++ b/src/core/logs.c @@ -28,6 +28,7 @@ #include <string.h> +#include "../common/compiler.h" #include "../common/extstr.h" @@ -42,7 +43,7 @@ static LogMessageType _verbosity = LMT_COUNT; /* Affiche un message dans le terminal courant. */ -__attribute__((weak)) void do_log_message_alt(LogMessageType, const char *); +__weak void do_log_message_alt(LogMessageType, const char *); /* Affiche un message dans le terminal courant. */ static void do_log_message_nox(LogMessageType, const char *); |