2003-11-13 10:01:50 -06:00
|
|
|
/*************************************************************************
|
|
|
|
*
|
2008-04-10 23:02:49 -05:00
|
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
2003-11-13 10:01:50 -06:00
|
|
|
*
|
2008-04-10 23:02:49 -05:00
|
|
|
* Copyright 2008 by Sun Microsystems, Inc.
|
2003-11-13 10:01:50 -06:00
|
|
|
*
|
2008-04-10 23:02:49 -05:00
|
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
2003-11-13 10:01:50 -06:00
|
|
|
*
|
2008-04-10 23:02:49 -05:00
|
|
|
* $RCSfile: platform.h,v $
|
|
|
|
* $Revision: 1.7 $
|
2003-11-13 10:01:50 -06:00
|
|
|
*
|
2008-04-10 23:02:49 -05:00
|
|
|
* This file is part of OpenOffice.org.
|
2003-11-13 10:01:50 -06:00
|
|
|
*
|
2008-04-10 23:02:49 -05:00
|
|
|
* OpenOffice.org is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU Lesser General Public License version 3
|
|
|
|
* only, as published by the Free Software Foundation.
|
2003-11-13 10:01:50 -06:00
|
|
|
*
|
2008-04-10 23:02:49 -05:00
|
|
|
* OpenOffice.org is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU Lesser General Public License version 3 for more details
|
|
|
|
* (a copy is included in the LICENSE file that accompanied this code).
|
2003-11-13 10:01:50 -06:00
|
|
|
*
|
2008-04-10 23:02:49 -05:00
|
|
|
* You should have received a copy of the GNU Lesser General Public License
|
|
|
|
* version 3 along with OpenOffice.org. If not, see
|
|
|
|
* <http://www.openoffice.org/license.html>
|
|
|
|
* for a copy of the LGPLv3 License.
|
2003-11-13 10:01:50 -06:00
|
|
|
*
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
#ifndef _PLATFORM_H_
|
|
|
|
#define _PLATFORM_H_
|
|
|
|
|
|
|
|
#define STRICT
|
|
|
|
#ifndef _WIN32_WINNT
|
|
|
|
#define _WIN32_WINNT 0x0400
|
|
|
|
#endif
|
|
|
|
#define _ATL_APARTMENT_THREADED
|
|
|
|
|
2006-10-12 08:09:05 -05:00
|
|
|
#if defined _MSC_VER
|
|
|
|
#pragma warning(push, 1)
|
2007-11-13 08:20:18 -06:00
|
|
|
#pragma warning(disable: 4548 4555 4917)
|
2006-10-12 08:09:05 -05:00
|
|
|
#endif
|
2003-11-13 10:01:50 -06:00
|
|
|
#include "windows.h"
|
2007-03-26 07:44:08 -05:00
|
|
|
#ifdef __MINGW32__
|
|
|
|
#include <atlbase.h>
|
|
|
|
#else
|
2006-09-25 07:02:05 -05:00
|
|
|
#if defined(_MSC_VER) && (_MSC_VER > 1310)
|
|
|
|
#include <atldbcli.h>
|
|
|
|
#else
|
2003-11-13 10:01:50 -06:00
|
|
|
#include "atlcomcli.h"
|
2006-09-25 07:02:05 -05:00
|
|
|
#endif
|
2007-03-26 07:44:08 -05:00
|
|
|
#endif
|
2006-10-12 08:09:05 -05:00
|
|
|
#if defined _MSC_VER
|
|
|
|
#pragma warning(pop)
|
|
|
|
#endif
|
2003-11-13 10:01:50 -06:00
|
|
|
|
|
|
|
#endif
|
|
|
|
|