From 6066106bb0aeb71d2e79390260743a86e2a04426 Mon Sep 17 00:00:00 2001 From: Robert Shearman Date: Mon, 12 Dec 2005 12:10:26 +0100 Subject: [PATCH] widl: Use WCHAR instead of wchar_t. Output IDL wchar_t types as WCHAR to avoid conflicts with the generally incompatible Unix wchar_t. --- tools/widl/header.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/widl/header.c b/tools/widl/header.c index 95db8c93867..be279ad828d 100644 --- a/tools/widl/header.c +++ b/tools/widl/header.c @@ -219,7 +219,7 @@ void write_type(FILE *h, type_t *t, var_t *v, const char *n) else fprintf(h, "char"); break; case RPC_FC_WCHAR: - fprintf(h, "wchar_t"); + fprintf(h, "WCHAR"); break; case RPC_FC_USHORT: case RPC_FC_SHORT: