Make sure that no files except unknwn.h include wine/obj_base.h
[wine/hacks.git] / include / oaidl.h
blobb493b586c2b8c6a9ca4f6a499d84cc1e8fde4032
1 /*
2 * Copyright (C) 1999 Francis Beaudet
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 #ifndef __WINE__
20 #include "rpc.h"
21 #include "rpcndr.h"
22 #ifndef COM_NO_WINDOWS_H
23 #include "windows.h"
24 #include "ole2.h"
25 #endif
26 #endif
28 #ifndef __WINE_OAIDL_H
29 #define __WINE_OAIDL_H
31 #if defined(__WINE__) && !defined(INITGUID) && !defined(__WINE_INCLUDE_OAIDL)
32 #error DO NOT INCLUDE DIRECTLY
33 #endif
35 #define __WINE_INCLUDE_OBJIDL
36 #include "objidl.h"
37 #undef __WINE_INCLUDE_OBJIDL
38 /* the following depend only on obj_base.h */
39 #include "wine/obj_oleaut.h"
40 #include "wine/obj_errorinfo.h"
42 #endif /* _WINE_OAIDL_H */