/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. * *************************************************************/ #ifndef SYSTEM_STL_FUNCTIONAL #define SYSTEM_STL_FUNCTIONAL #ifdef GCC # ifdef __MINGW32__ # define _SYSTEM_STL_MAKE_HEADER(path,header) # include _SYSTEM_STL_MAKE_HEADER(GXX_INCLUDE_PATH,functional) # else # include # endif # include namespace std { using __gnu_cxx::project1st; using __gnu_cxx::project2nd; using __gnu_cxx::select1st; using __gnu_cxx::select2nd; using __gnu_cxx::compose1; using __gnu_cxx::compose2; using __gnu_cxx::unary_compose; using __gnu_cxx::binary_compose; # ifndef __GXX_EXPERIMENTAL_CXX0X__ using __gnu_cxx::identity; using __gnu_cxx::mem_fun1; using __gnu_cxx::mem_fun1_ref; # endif } #else # error UNSUPPORTED COMPILER #endif #endif /* vi:set tabstop=4 shiftwidth=4 expandtab: */