mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-04-05 20:05:25 +00:00
color_out.h: do not include macros.h
Included with debug.h (for logger) so it would leak the definitions to almost all compilation units. Just STRINGIFY is required so rather make a local copy of the macro (prefixed COLOR_OUT). + include macro.h in files that should include that but didn't include it directly
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
* Jerry Isdale
|
||||
*
|
||||
* Copyright (c) 1995-2000 University College London
|
||||
* Copyright (c) 2005-2023 CESNET, z. s. p. o.
|
||||
* Copyright (c) 2005-2026 CESNET, zájmové sdružení právnických osob
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@@ -58,6 +58,7 @@
|
||||
#include "host.h"
|
||||
#include "utils/color_out.h"
|
||||
#include "utils/string_view_utils.hpp"
|
||||
#include "utils/macros.h" // for STR_LEN, snprintf_ch
|
||||
#include "utils/misc.h" // ug_strerror
|
||||
|
||||
using std::atomic;
|
||||
|
||||
Reference in New Issue
Block a user