1 *e76eebc6SAndrew Rist/************************************************************** 2 cdf0e10cSrcweir * 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 *************************************************************/ 21 cdf0e10cSrcweir 22 cdf0e10cSrcweir#ifndef SYSTEM_STL_HASHSET 23 cdf0e10cSrcweir#define SYSTEM_STL_HASHSET 24 cdf0e10cSrcweir 25 cdf0e10cSrcweir#ifdef GCC 26 cdf0e10cSrcweir 27 cdf0e10cSrcweir# include <functional> 28 cdf0e10cSrcweir 29 cdf0e10cSrcweir# define _BACKWARD_BACKWARD_WARNING_H 1 30 cdf0e10cSrcweir# include <ext/hash_set> 31 cdf0e10cSrcweir# undef _BACKWARD_BACKWARD_WARNING_H 32 cdf0e10cSrcweir 33 cdf0e10cSrcweirnamespace std 34 cdf0e10cSrcweir{ 35 cdf0e10cSrcweir# ifndef __GXX_EXPERIMENTAL_CXX0X__ 36 cdf0e10cSrcweir using __gnu_cxx::hash; 37 cdf0e10cSrcweir# endif 38 cdf0e10cSrcweir using __gnu_cxx::hash_set; 39 cdf0e10cSrcweir using __gnu_cxx::hash_multiset; 40 cdf0e10cSrcweir} 41 cdf0e10cSrcweir#else 42 cdf0e10cSrcweir# error UNSUPPORTED COMPILER 43 cdf0e10cSrcweir#endif 44 cdf0e10cSrcweir 45 cdf0e10cSrcweir#endif 46 cdf0e10cSrcweir/* vi:set tabstop=4 shiftwidth=4 expandtab: */ 47