From c7f326d428045ee7949fdc7c2d3481fc700d9e09 Mon Sep 17 00:00:00 2001 From: Michael Fabian 'Xaymar' Dirks Date: Tue, 9 Jul 2019 14:04:25 +0200 Subject: [PATCH] utility: Change vstr and dstr macros to D_STR and D_VSTR --- source/encoders/prores_aw.cpp | 2 +- source/utility.hpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/source/encoders/prores_aw.cpp b/source/encoders/prores_aw.cpp index 7ce3d70..676c7f4 100644 --- a/source/encoders/prores_aw.cpp +++ b/source/encoders/prores_aw.cpp @@ -33,7 +33,7 @@ extern "C" { #include #define T_PROFILE "ProRes.Profile" -#define T_PROFILE_(x) "ProRes.Profile." vstr(x) +#define T_PROFILE_(x) "ProRes.Profile." D_VSTR(x) #define T_CUSTOM "Custom" #define LOG_PREFIX "[prores_aw] " diff --git a/source/utility.hpp b/source/utility.hpp index c79e593..aae82f6 100644 --- a/source/utility.hpp +++ b/source/utility.hpp @@ -40,8 +40,8 @@ #define DESC(x) x ".Description" // Other -#define vstr(s) dstr(s) -#define dstr(s) #s +#define D_STR(s) #s +#define D_VSTR(s) D_STR(s) // Initializer #ifdef __cplusplus