2004-09-08 10:34:12 -05:00
|
|
|
/*************************************************************************
|
|
|
|
*
|
2008-04-11 00:59:58 -05:00
|
|
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
|
|
*
|
2010-02-12 08:01:35 -06:00
|
|
|
* Copyright 2000, 2010 Oracle and/or its affiliates.
|
2004-09-08 10:34:12 -05:00
|
|
|
*
|
2008-04-11 00:59:58 -05:00
|
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
2004-09-08 10:34:12 -05:00
|
|
|
*
|
2008-04-11 00:59:58 -05:00
|
|
|
* This file is part of OpenOffice.org.
|
2004-09-08 10:34:12 -05:00
|
|
|
*
|
2008-04-11 00:59:58 -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.
|
2004-09-08 10:34:12 -05:00
|
|
|
*
|
2008-04-11 00:59:58 -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).
|
2004-09-08 10:34:12 -05:00
|
|
|
*
|
2008-04-11 00:59:58 -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.
|
2004-09-08 10:34:12 -05:00
|
|
|
*
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
#ifndef SYSTEM_STL_FUNCTIONAL
|
|
|
|
#define SYSTEM_STL_FUNCTIONAL
|
|
|
|
|
|
|
|
#ifdef GCC
|
2009-10-01 04:16:17 -05:00
|
|
|
# ifdef __MINGW32__
|
2009-01-20 10:36:21 -06:00
|
|
|
# define _SYSTEM_STL_MAKE_HEADER(path,header) <path/header>
|
|
|
|
# include _SYSTEM_STL_MAKE_HEADER(GXX_INCLUDE_PATH,functional)
|
2009-10-01 04:16:17 -05:00
|
|
|
# else
|
2009-01-20 10:36:21 -06:00
|
|
|
# include <ext/../functional>
|
2009-10-01 04:16:17 -05:00
|
|
|
# endif
|
|
|
|
# include <ext/functional>
|
2004-09-08 10:34:12 -05:00
|
|
|
|
|
|
|
namespace std
|
|
|
|
{
|
2007-08-03 05:54:37 -05:00
|
|
|
using __gnu_cxx::project1st;
|
|
|
|
using __gnu_cxx::project2nd;
|
2009-10-01 04:16:17 -05:00
|
|
|
using __gnu_cxx::select1st;
|
|
|
|
using __gnu_cxx::select2nd;
|
2004-09-08 10:34:12 -05:00
|
|
|
using __gnu_cxx::compose1;
|
2007-08-03 05:54:37 -05:00
|
|
|
using __gnu_cxx::compose2;
|
2009-10-01 04:16:17 -05:00
|
|
|
using __gnu_cxx::unary_compose;
|
|
|
|
using __gnu_cxx::binary_compose;
|
|
|
|
# ifndef __GXX_EXPERIMENTAL_CXX0X__
|
2005-02-24 07:47:37 -06:00
|
|
|
using __gnu_cxx::identity;
|
2007-08-03 05:54:37 -05:00
|
|
|
using __gnu_cxx::mem_fun1;
|
|
|
|
using __gnu_cxx::mem_fun1_ref;
|
2009-10-01 04:16:17 -05:00
|
|
|
# endif
|
2004-09-08 10:34:12 -05:00
|
|
|
}
|
2009-10-01 04:16:17 -05:00
|
|
|
|
2004-09-08 10:34:12 -05:00
|
|
|
#else
|
2009-10-01 04:16:17 -05:00
|
|
|
# error UNSUPPORTED COMPILER
|
2004-09-08 10:34:12 -05:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|
|
|
|
/* vi:set tabstop=4 shiftwidth=4 expandtab: */
|