Skip to content

Commit cbdd3df

Browse files
authored
Merge pull request #72 from apnadkarni/gcc-vc-preprocessor-fix
Make STRING_ macros work with both gcc and MS VC
2 parents 75c2d05 + 89ab9f4 commit cbdd3df

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

win/OleDND.h

+1-2
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,7 @@ extern "C" {
129129
* Windows Clipboard formats.
130130
****************************************************************************/
131131
#define WIDEN(x) L##x
132-
#define WSTRINGIFY(x) WIDEN(#x)
133-
#define STRING_(s) {s, WSTRINGIFY(s)}
132+
#define STRING_(s) {s, WIDEN(#s)}
134133
typedef struct {
135134
UINT cfFormat;
136135
const WCHAR *name;

0 commit comments

Comments
 (0)