xref: /aoo42x/main/stlport/systemstl/numeric (revision e76eebc6)
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_NUMERIC
23cdf0e10cSrcweir#define SYSTEM_STL_NUMERIC
24cdf0e10cSrcweir
25cdf0e10cSrcweir#ifdef GCC
26cdf0e10cSrcweir# include <functional>
27cdf0e10cSrcweir# ifdef __MINGW32__
28cdf0e10cSrcweir#  define _SYSTEM_STL_MAKE_HEADER(path,header) <path/header>
29cdf0e10cSrcweir#  include _SYSTEM_STL_MAKE_HEADER(GXX_INCLUDE_PATH,numeric)
30cdf0e10cSrcweir# else
31cdf0e10cSrcweir#  include <ext/../numeric>
32cdf0e10cSrcweir# endif
33cdf0e10cSrcweir# include <ext/numeric>
34cdf0e10cSrcweir
35cdf0e10cSrcweir# ifndef __GXX_EXPERIMENTAL_CXX0X__
36cdf0e10cSrcweirnamespace std
37cdf0e10cSrcweir{
38cdf0e10cSrcweir	using __gnu_cxx::iota;
39cdf0e10cSrcweir}
40cdf0e10cSrcweir# endif
41cdf0e10cSrcweir
42cdf0e10cSrcweir#else
43cdf0e10cSrcweir# error UNSUPPORTED COMPILER
44cdf0e10cSrcweir#endif
45cdf0e10cSrcweir
46cdf0e10cSrcweir#endif
47cdf0e10cSrcweir/* vi:set tabstop=4 shiftwidth=4 expandtab: */
48