Don't include windows.h & co in the Wine sources.

Remove uneeded COM_NO_WINDOWS_H defines.
This commit is contained in:
Francois Gouget 2006-10-24 12:38:21 +02:00 committed by Alexandre Julliard
parent 47bf80da8c
commit 9fe4673347
57 changed files with 5 additions and 59 deletions

View File

@ -25,7 +25,6 @@
#include <string.h>
#define COBJMACROS
#define COM_NO_WINDOWS_H
#include "windef.h"
#include "winbase.h"

View File

@ -18,7 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define COM_NO_WINDOWS_H
#include <stdarg.h>
#include <string.h>

View File

@ -20,8 +20,6 @@
#include "config.h"
#include "wine/port.h"
#define COM_NO_WINDOWS_H
#include <stdarg.h>
#include <stdio.h>
#include <fcntl.h>

View File

@ -16,7 +16,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define COM_NO_WINDOWS_H
#include <assert.h>
#include <stdarg.h>

View File

@ -21,7 +21,6 @@
#include <stdarg.h>
#define COBJMACROS
#define COM_NO_WINDOWS_H
#include "windef.h"
#include "winbase.h"

View File

@ -30,7 +30,6 @@
* When index is missing it works, but index seems to be okay.
*/
#define COM_NO_WINDOWS_H
#include <assert.h>
#include <stdarg.h>

View File

@ -16,7 +16,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define COM_NO_WINDOWS_H
#include <assert.h>
#include <stdarg.h>

View File

@ -16,7 +16,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define COM_NO_WINDOWS_H
#include <assert.h>
#include "extrachunk.h"

View File

@ -20,7 +20,6 @@
#include <stdarg.h>
#define COBJMACROS
#define COM_NO_WINDOWS_H
#include "windef.h"
#include "winbase.h"

View File

@ -16,7 +16,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define COM_NO_WINDOWS_H
#include <assert.h>
#include <stdarg.h>

View File

@ -16,7 +16,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define COM_NO_WINDOWS_H
#include <assert.h>
#include <stdarg.h>

View File

@ -18,7 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define COM_NO_WINDOWS_H
#include <stdarg.h>
#include <string.h>

View File

@ -16,7 +16,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define COM_NO_WINDOWS_H
#include <assert.h>
#include <stdarg.h>

View File

@ -16,7 +16,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define COM_NO_WINDOWS_H
#include <assert.h>
#include <stdarg.h>

View File

@ -21,7 +21,6 @@
#include <stdarg.h>
#define COBJMACROS
#define COM_NO_WINDOWS_H
#include "windef.h"
#include "winbase.h"

View File

@ -18,8 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define COM_NO_WINDOWS_H
#include <stdarg.h>
#include <string.h>

View File

@ -33,7 +33,6 @@
* - check for the 'rec ' list in some AVI files
*/
#define COM_NO_WINDOWS_H
#include <stdarg.h>
#include <string.h>
#include "windef.h"

View File

@ -21,7 +21,6 @@
#ifndef _WINE_DLL_CDLG_H
#define _WINE_DLL_CDLG_H
#define COM_NO_WINDOWS_H
#include "dlgs.h"
#include "wownt32.h"

View File

@ -23,7 +23,6 @@
#ifndef _WINE_DLL_CDLG16_H
#define _WINE_DLL_CDLG16_H
#define COM_NO_WINDOWS_H
#include "dlgs.h"
#include "wine/windef16.h"
#include "wine/winbase16.h"

View File

@ -26,7 +26,6 @@
#include <stdarg.h>
#endif
#define COM_NO_WINDOWS_H
#include "windef.h"
#include "winbase.h"
#include "winuser.h"

View File

@ -25,7 +25,6 @@
#include <string.h>
#define COBJMACROS
#define COM_NO_WINDOWS_H
#include "windef.h"
#include "winbase.h"

View File

@ -18,7 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define COM_NO_WINDOWS_H
#include <stdarg.h>
#include <string.h>

View File

@ -32,7 +32,6 @@
#include "winerror.h"
#define COBJMACROS
#define COM_NO_WINDOWS_H
#include "ole2.h"
#include "strmif.h"

View File

@ -18,7 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define COM_NO_WINDOWS_H
#include <stdarg.h>
#include <string.h>

View File

@ -21,7 +21,6 @@
#include <stdarg.h>
#include <stdio.h>
#define COM_NO_WINDOWS_H
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"

View File

@ -21,7 +21,6 @@
#include <stdarg.h>
#include <stdio.h>
#define COM_NO_WINDOWS_H
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"

View File

@ -21,7 +21,6 @@
#include <stdarg.h>
#define COM_NO_WINDOWS_H
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"

View File

@ -22,7 +22,6 @@
#include <stdarg.h>
#define COM_NO_WINDOWS_H
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"

View File

@ -21,7 +21,6 @@
#include <stdarg.h>
#define COM_NO_WINDOWS_H
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"

View File

@ -18,7 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define COM_NO_WINDOWS_H
#include <stdarg.h>
#include <string.h>

View File

@ -21,7 +21,6 @@
#ifndef __WINE_PRIVATE_MCIAVI_H
#define __WINE_PRIVATE_MCIAVI_H
#define COM_NO_WINDOWS_H
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"

View File

@ -17,7 +17,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define COM_NO_WINDOWS_H
#include <stdarg.h>
#include "windef.h"

View File

@ -19,7 +19,6 @@
#include <stdarg.h>
#define COBJMACROS
#define COM_NO_WINDOWS_H
#include "windef.h"
#include "winbase.h"

View File

@ -23,7 +23,6 @@
#include <stdarg.h>
#endif
#define COM_NO_WINDOWS_H
#include "windef.h"
#include "winbase.h"
#include "mmsystem.h"

View File

@ -19,7 +19,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define COM_NO_WINDOWS_H
#include <stdarg.h>
#include <stdio.h>
#include <string.h>

View File

@ -30,7 +30,6 @@
#include <stdio.h>
#include <string.h>
#define COM_NO_WINDOWS_H
#include "windef.h"
#include "winbase.h"
#include "winreg.h"

View File

@ -29,7 +29,6 @@
#include "winuser.h"
#define COBJMACROS
#define COM_NO_WINDOWS_H
#include "ole2.h"
#include "strmif.h"

View File

@ -18,7 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define COM_NO_WINDOWS_H
#include <stdarg.h>
#include "windef.h"

View File

@ -18,7 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define COM_NO_WINDOWS_H
#define COBJMACROS
#define NONAMELESSSTRUCT
#define NONAMELESSUNION

View File

@ -20,7 +20,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define COM_NO_WINDOWS_H
#include <stdarg.h>
#include "wine/debug.h"

View File

@ -22,7 +22,6 @@
*/
#define COBJMACROS
#define COM_NO_WINDOWS_H
#include "quartz_private.h"

View File

@ -32,7 +32,6 @@
#include "dshow.h"
#include "wine/debug.h"
#include "quartz_private.h"
#define COM_NO_WINDOWS_H
#include "ole2.h"
#include "olectl.h"
#include "strmif.h"

View File

@ -31,7 +31,6 @@
#include "quartz_private.h"
#define COM_NO_WINDOWS_H
#include "ole2.h"
#include "olectl.h"
#include "strmif.h"

View File

@ -21,7 +21,6 @@
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#define COBJMACROS
#define COM_NO_WINDOWS_H
#include <stdarg.h>
#include <string.h>

View File

@ -18,7 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define COM_NO_WINDOWS_H
#include "quartz_private.h"
#include "wine/debug.h"

View File

@ -22,7 +22,6 @@
#ifndef __WINE_SHDOCVW_H
#define __WINE_SHDOCVW_H
#define COM_NO_WINDOWS_H
#define COBJMACROS
#include <stdarg.h>

View File

@ -26,7 +26,6 @@
#include <stdarg.h>
#define COBJMACROS
#define COM_NO_WINDOWS_H
#include "windef.h"
#include "winbase.h"

View File

@ -18,7 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define COM_NO_WINDOWS_H
#include "config.h"
#include "wine/port.h"

View File

@ -20,7 +20,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define COM_NO_WINDOWS_H
#include "config.h"
#include "wine/port.h"

View File

@ -19,7 +19,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define COM_NO_WINDOWS_H
#include "config.h"
#include "wine/port.h"

View File

@ -21,7 +21,6 @@
#include <stdarg.h>
#define COM_NO_WINDOWS_H
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"

View File

@ -18,7 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define COM_NO_WINDOWS_H
#include <stdarg.h>
#include <stdio.h>
#include <string.h>

View File

@ -20,7 +20,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define COM_NO_WINDOWS_H
#include <stdarg.h>
#include <stdio.h>

View File

@ -22,7 +22,6 @@
#include <stdarg.h>
#include "windef.h"
#define COM_NO_WINDOWS_H
#include "initguid.h"
/* GUIDs defined in uuids.lib */

View File

@ -19,7 +19,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define COM_NO_WINDOWS_H
#include "config.h"
#include <X11/Xatom.h>
@ -650,6 +649,8 @@ static void EVENT_DropFromOffiX( HWND hWnd, XClientMessageEvent *event )
wine_tsx11_lock();
XQueryPointer( event->display, win, &w_aux_root, &w_aux_child,
&x, &y, &dummy, &dummy, (unsigned int*)&aux_long);
x += virtual_screen_rect.left;
y += virtual_screen_rect.top;
wine_tsx11_unlock();
pWnd = WIN_GetPtr(hWnd);
@ -802,6 +803,8 @@ static void EVENT_DropURLs( HWND hWnd, XClientMessageEvent *event )
wine_tsx11_lock();
XQueryPointer( event->display, root_window, &u.w_aux, &u.w_aux,
&x, &y, &u.i, &u.i, &u.u);
x += virtual_screen_rect.left;
y += virtual_screen_rect.top;
wine_tsx11_unlock();
drop_len += sizeof(DROPFILES) + 1;

View File

@ -22,7 +22,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define COM_NO_WINDOWS_H
#include "config.h"
#include "wine/port.h"

View File

@ -17,7 +17,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
cpp_quote("#ifndef COM_NO_WINDOWS_H")
cpp_quote("#if !defined(COM_NO_WINDOWS_H) && !defined(__WINESRC__)")
cpp_quote("#include <windows.h>")
cpp_quote("#include <ole2.h>")
cpp_quote("#endif")