1*e76eebc6SAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3*e76eebc6SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*e76eebc6SAndrew Rist * or more contributor license agreements. See the NOTICE file 5*e76eebc6SAndrew Rist * distributed with this work for additional information 6*e76eebc6SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*e76eebc6SAndrew Rist * to you under the Apache License, Version 2.0 (the 8*e76eebc6SAndrew Rist * "License"); you may not use this file except in compliance 9*e76eebc6SAndrew Rist * with the License. You may obtain a copy of the License at 10*e76eebc6SAndrew Rist * 11*e76eebc6SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*e76eebc6SAndrew Rist * 13*e76eebc6SAndrew Rist * Unless required by applicable law or agreed to in writing, 14*e76eebc6SAndrew Rist * software distributed under the License is distributed on an 15*e76eebc6SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*e76eebc6SAndrew Rist * KIND, either express or implied. See the License for the 17*e76eebc6SAndrew Rist * specific language governing permissions and limitations 18*e76eebc6SAndrew Rist * under the License. 19*e76eebc6SAndrew Rist * 20*e76eebc6SAndrew Rist *************************************************************/ 21cdf0e10cSrcweir 22cdf0e10cSrcweir#ifndef SYSTEM_STL_FUNCTIONAL 23cdf0e10cSrcweir#define SYSTEM_STL_FUNCTIONAL 24cdf0e10cSrcweir 25cdf0e10cSrcweir#ifdef GCC 26cdf0e10cSrcweir# ifdef __MINGW32__ 27cdf0e10cSrcweir# define _SYSTEM_STL_MAKE_HEADER(path,header) <path/header> 28cdf0e10cSrcweir# include _SYSTEM_STL_MAKE_HEADER(GXX_INCLUDE_PATH,functional) 29cdf0e10cSrcweir# else 30cdf0e10cSrcweir# include <ext/../functional> 31cdf0e10cSrcweir# endif 32cdf0e10cSrcweir# include <ext/functional> 33cdf0e10cSrcweir 34cdf0e10cSrcweirnamespace std 35cdf0e10cSrcweir{ 36cdf0e10cSrcweir using __gnu_cxx::project1st; 37cdf0e10cSrcweir using __gnu_cxx::project2nd; 38cdf0e10cSrcweir using __gnu_cxx::select1st; 39cdf0e10cSrcweir using __gnu_cxx::select2nd; 40cdf0e10cSrcweir using __gnu_cxx::compose1; 41cdf0e10cSrcweir using __gnu_cxx::compose2; 42cdf0e10cSrcweir using __gnu_cxx::unary_compose; 43cdf0e10cSrcweir using __gnu_cxx::binary_compose; 44cdf0e10cSrcweir# ifndef __GXX_EXPERIMENTAL_CXX0X__ 45cdf0e10cSrcweir using __gnu_cxx::identity; 46cdf0e10cSrcweir using __gnu_cxx::mem_fun1; 47cdf0e10cSrcweir using __gnu_cxx::mem_fun1_ref; 48cdf0e10cSrcweir# endif 49cdf0e10cSrcweir} 50cdf0e10cSrcweir 51cdf0e10cSrcweir#else 52cdf0e10cSrcweir# error UNSUPPORTED COMPILER 53cdf0e10cSrcweir#endif 54cdf0e10cSrcweir 55cdf0e10cSrcweir#endif 56cdf0e10cSrcweir/* vi:set tabstop=4 shiftwidth=4 expandtab: */ 57