From 89ab9f4bcb0a3ccd4a61bf86a4a822fc0f537bf5 Mon Sep 17 00:00:00 2001 From: "Ashok P. Nadkarni" Date: Thu, 2 Jan 2025 18:47:53 +0530 Subject: [PATCH] Make STRING_ macros work with both gcc and MS VC --- win/OleDND.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/win/OleDND.h b/win/OleDND.h index d411740..d847ebd 100644 --- a/win/OleDND.h +++ b/win/OleDND.h @@ -129,8 +129,7 @@ extern "C" { * Windows Clipboard formats. ****************************************************************************/ #define WIDEN(x) L##x -#define WSTRINGIFY(x) WIDEN(#x) -#define STRING_(s) {s, WSTRINGIFY(s)} +#define STRING_(s) {s, WIDEN(#s)} typedef struct { UINT cfFormat; const WCHAR *name;