From f02f9db9423cb65645b6712f9eca31eb42c8595e Mon Sep 17 00:00:00 2001 From: Chuck Walbourn Date: Tue, 19 May 2020 20:13:05 -0700 Subject: [PATCH] Fix preprocessor conformance issue --- Texassemble/texassemble.cpp | 2 +- Texconv/texconv.cpp | 2 +- Texdiag/texdiag.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Texassemble/texassemble.cpp b/Texassemble/texassemble.cpp index 34aff99..f7fdb1e 100644 --- a/Texassemble/texassemble.cpp +++ b/Texassemble/texassemble.cpp @@ -152,7 +152,7 @@ const SValue g_pOptions[] = { nullptr, 0 } }; -#define DEFFMT(fmt) { L#fmt, DXGI_FORMAT_ ## fmt } +#define DEFFMT(fmt) { L""#fmt, DXGI_FORMAT_ ## fmt } const SValue g_pFormats[] = { diff --git a/Texconv/texconv.cpp b/Texconv/texconv.cpp index 14128d0..2553dba 100644 --- a/Texconv/texconv.cpp +++ b/Texconv/texconv.cpp @@ -201,7 +201,7 @@ const SValue g_pOptions[] = { nullptr, 0 } }; -#define DEFFMT(fmt) { L#fmt, DXGI_FORMAT_ ## fmt } +#define DEFFMT(fmt) { L""#fmt, DXGI_FORMAT_ ## fmt } const SValue g_pFormats[] = { diff --git a/Texdiag/texdiag.cpp b/Texdiag/texdiag.cpp index c2cee71..517be1f 100644 --- a/Texdiag/texdiag.cpp +++ b/Texdiag/texdiag.cpp @@ -126,7 +126,7 @@ const SValue g_pOptions[] = { nullptr, 0 } }; -#define DEFFMT(fmt) { L#fmt, DXGI_FORMAT_ ## fmt } +#define DEFFMT(fmt) { L""#fmt, DXGI_FORMAT_ ## fmt } const SValue g_pFormats[] = {