Robert Shearman : widl: Use WCHAR instead of wchar_t.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Dec 12 06:44:54 CST 2005
Module: wine
Branch: refs/heads/master
Commit: 6066106bb0aeb71d2e79390260743a86e2a04426
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=6066106bb0aeb71d2e79390260743a86e2a04426
Author: Robert Shearman <rob at codeweavers.com>
Date: Mon Dec 12 12:10:26 2005 +0100
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 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tools/widl/header.c b/tools/widl/header.c
index 95db8c9..be279ad 100644
--- a/tools/widl/header.c
+++ b/tools/widl/header.c
@@ -219,7 +219,7 @@ void write_type(FILE *h, type_t *t, var_
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:
More information about the wine-cvs
mailing list