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