xref: /trunk/main/stlport/systemstl/list (revision a89445d3)
193e48dc4SHerbert Dürr/**************************************************************
293e48dc4SHerbert Dürr *
393e48dc4SHerbert Dürr * Licensed to the Apache Software Foundation (ASF) under one
493e48dc4SHerbert Dürr * or more contributor license agreements.  See the NOTICE file
593e48dc4SHerbert Dürr * distributed with this work for additional information
693e48dc4SHerbert Dürr * regarding copyright ownership.  The ASF licenses this file
793e48dc4SHerbert Dürr * to you under the Apache License, Version 2.0 (the
893e48dc4SHerbert Dürr * "License"); you may not use this file except in compliance
993e48dc4SHerbert Dürr * with the License.  You may obtain a copy of the License at
1093e48dc4SHerbert Dürr *
1193e48dc4SHerbert Dürr *   http://www.apache.org/licenses/LICENSE-2.0
1293e48dc4SHerbert Dürr *
1393e48dc4SHerbert Dürr * Unless required by applicable law or agreed to in writing,
1493e48dc4SHerbert Dürr * software distributed under the License is distributed on an
1593e48dc4SHerbert Dürr * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
1693e48dc4SHerbert Dürr * KIND, either express or implied.  See the License for the
1793e48dc4SHerbert Dürr * specific language governing permissions and limitations
1893e48dc4SHerbert Dürr * under the License.
1993e48dc4SHerbert Dürr *
2093e48dc4SHerbert Dürr *************************************************************/
2193e48dc4SHerbert Dürr
2293e48dc4SHerbert Dürr#ifndef SYSTEM_STL_LIST
2393e48dc4SHerbert Dürr#define SYSTEM_STL_LIST
2493e48dc4SHerbert Dürr
2593e48dc4SHerbert Dürr#ifdef HAVE_STL_INCLUDE_PATH
26*a89445d3SAndre Fischer    // TODO: use computed include file name
27*a89445d3SAndre Fischer    #include_next <list>
2893e48dc4SHerbert Dürr#elif defined(_MSC_VER)
29*a89445d3SAndre Fischer    // MSVC's list would cause a lot of expression-result-unused warnings
30*a89445d3SAndre Fischer    // unless it is compiled in iterator-debugging mode. Silence this noise temporarily.
31*a89445d3SAndre Fischer    #pragma warning(push)
32*a89445d3SAndre Fischer    #pragma warning(disable:4555)
33*a89445d3SAndre Fischer    #include <../../VC/include/list>
34*a89445d3SAndre Fischer    #pragma warning(pop)
3593e48dc4SHerbert Dürr#else // fall back to boost/tr1
36*a89445d3SAndre Fischer    #include <boost/tr1/tr1/list>
3793e48dc4SHerbert Dürr#endif
3893e48dc4SHerbert Dürr
3993e48dc4SHerbert Dürr#endif
40