xref: /aoo41x/main/stlport/systemstl/list (revision f322e992)
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
2693e48dc4SHerbert Dürr	// TODO: use computed include file name
2793e48dc4SHerbert Dürr	#include_next <list>
2893e48dc4SHerbert Dürr#elif defined(_MSC_VER)
29*f322e992SAriel Constenla-Haile    // MSVC's list would cause a lot of expression-result-unused warnings
30*f322e992SAriel Constenla-Haile    // unless it is compiled in iterator-debugging mode. Silence this noise temporarily.
31*f322e992SAriel Constenla-Haile    #pragma warning(push)
32*f322e992SAriel Constenla-Haile    #pragma warning(disable:4555)
33*f322e992SAriel Constenla-Haile    #include <../../VC/include/list>
34*f322e992SAriel Constenla-Haile    #pragma warning(pop)
35*f322e992SAriel Constenla-Haile#elif defined(__cplusplus) && (__cplusplus >= 201103L)
36*f322e992SAriel Constenla-Haile    #include_next <list>
3793e48dc4SHerbert Dürr#else // fall back to boost/tr1
3893e48dc4SHerbert Dürr	#include <boost/tr1/tr1/list>
3993e48dc4SHerbert Dürr#endif
4093e48dc4SHerbert Dürr
4193e48dc4SHerbert Dürr#endif
4293e48dc4SHerbert Dürr
43