mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 17:07:16 +00:00
Moved rpc.h inclusion in widl-generated file so that tests compile.
This commit is contained in:
parent
c99c022a78
commit
b1c3a89ade
|
@ -1,10 +1,11 @@
|
||||||
/*** Autogenerated by WIDL 0.1 from ../../include/wtypes.idl - Do not edit ***/
|
/*** Autogenerated by WIDL 0.1 from wtypes.idl - Do not edit ***/
|
||||||
|
#include "rpc.h"
|
||||||
|
#include "rpcndr.h"
|
||||||
|
|
||||||
#ifndef __WIDL_WTYPES_H
|
#ifndef __WIDL_WTYPES_H
|
||||||
#define __WIDL_WTYPES_H
|
#define __WIDL_WTYPES_H
|
||||||
#include "basetsd.h"
|
#include "basetsd.h"
|
||||||
#include "guiddef.h"
|
#include "guiddef.h"
|
||||||
#include "rpc.h"
|
|
||||||
#include "rpcndr.h"
|
|
||||||
typedef CHAR OLECHAR16;
|
typedef CHAR OLECHAR16;
|
||||||
typedef LPSTR LPOLESTR16;
|
typedef LPSTR LPOLESTR16;
|
||||||
typedef LPCSTR LPCOLESTR16;
|
typedef LPCSTR LPCOLESTR16;
|
||||||
|
|
|
@ -30,8 +30,6 @@ interface IWinTypes
|
||||||
|
|
||||||
cpp_quote("#include \"basetsd.h\"")
|
cpp_quote("#include \"basetsd.h\"")
|
||||||
cpp_quote("#include \"guiddef.h\"")
|
cpp_quote("#include \"guiddef.h\"")
|
||||||
cpp_quote("#include \"rpc.h\"")
|
|
||||||
cpp_quote("#include \"rpcndr.h\"")
|
|
||||||
|
|
||||||
/* from Wine's pre-WIDL wtypes.h */
|
/* from Wine's pre-WIDL wtypes.h */
|
||||||
/* FIXME: does not belong here */
|
/* FIXME: does not belong here */
|
||||||
|
|
|
@ -209,6 +209,8 @@ int main(int argc,char *argv[])
|
||||||
|
|
||||||
header = fopen(header_name, "w");
|
header = fopen(header_name, "w");
|
||||||
fprintf(header, "/*** Autogenerated by WIDL %s from %s - Do not edit ***/\n", WIDL_FULLVERSION, input_name);
|
fprintf(header, "/*** Autogenerated by WIDL %s from %s - Do not edit ***/\n", WIDL_FULLVERSION, input_name);
|
||||||
|
fprintf(header, "#include \"rpc.h\"\n" );
|
||||||
|
fprintf(header, "#include \"rpcndr.h\"\n\n" );
|
||||||
fprintf(header, "#ifndef __WIDL_%s\n", header_token);
|
fprintf(header, "#ifndef __WIDL_%s\n", header_token);
|
||||||
fprintf(header, "#define __WIDL_%s\n", header_token);
|
fprintf(header, "#define __WIDL_%s\n", header_token);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue