diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/nm-macros-internal.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/nm-macros-internal.h b/include/nm-macros-internal.h index 0cb85cea74..78c4206cf3 100644 --- a/include/nm-macros-internal.h +++ b/include/nm-macros-internal.h @@ -100,6 +100,11 @@ _found; \ }) +#define NM_PRINT_FMT_QUOTED(cond, prefix, str, suffix, str_else) \ + (cond) ? (prefix) : "", \ + (cond) ? (str) : (str_else), \ + (cond) ? (suffix) : "" + /*****************************************************************************/ #ifdef NM_MORE_ASSERTS |