xref: /reactos/sdk/include/c++/stlport/algorithm (revision 4561998a)
1/*
2 *
3 * Copyright (c) 1994
4 * Hewlett-Packard Company
5 *
6 * Copyright (c) 1996,1997
7 * Silicon Graphics Computer Systems, Inc.
8 *
9 * Copyright (c) 1997
10 * Moscow Center for SPARC Technology
11 *
12 * Copyright (c) 1999
13 * Boris Fomitchev
14 *
15 * This material is provided "as is", with absolutely no warranty expressed
16 * or implied. Any use is at your own risk.
17 *
18 * Permission to use or copy this software for any purpose is hereby granted
19 * without fee, provided the above notices are retained on all copies.
20 * Permission to modify the code and to distribute modified code is granted,
21 * provided the above notices are retained, and a notice that the code was
22 * modified is included with the above copyright notice.
23 *
24 */
25
26#ifndef _STLP_ALGORITHM
27
28#ifndef _STLP_OUTERMOST_HEADER_ID
29#  define _STLP_OUTERMOST_HEADER_ID 0x1
30#  include <stl/_prolog.h>
31#  define _STLP_ALGORITHM
32#endif
33
34#if (_STLP_OUTERMOST_HEADER_ID == 0x1)
35#  ifndef _STLP_INTERNAL_CSTDIO
36// remove() conflicts, <cstdio> should always go first
37#    include <stl/_cstdio.h>
38#  endif
39
40#  ifndef _STLP_INTERNAL_ALGO_H
41#    include <stl/_algo.h>
42#  endif
43#endif
44
45#if (_STLP_OUTERMOST_HEADER_ID != 0x1) || defined (_STLP_IMPORT_VENDOR_STD)
46#  if defined (_STLP_HAS_INCLUDE_NEXT)
47#    include_next <algorithm>
48#  else
49#    include _STLP_NATIVE_HEADER(algorithm)
50#  endif
51#endif
52
53#if (_STLP_OUTERMOST_HEADER_ID == 0x1 )
54#  include <stl/_epilog.h>
55#  undef _STLP_OUTERMOST_HEADER_ID
56#endif
57
58#endif /* _STLP_ALGORITHM */
59
60// Local Variables:
61// mode:C++
62// End:
63