7 * Silicon Graphics Computer Systems, Inc. |
7 * Silicon Graphics Computer Systems, Inc. |
8 * |
8 * |
9 * Copyright (c) 1997 |
9 * Copyright (c) 1997 |
10 * Moscow Center for SPARC Technology |
10 * Moscow Center for SPARC Technology |
11 * |
11 * |
12 * Copyright (c) 1999 |
12 * Copyright (c) 1999 |
13 * Boris Fomitchev |
13 * Boris Fomitchev |
14 * |
14 * |
15 * This material is provided "as is", with absolutely no warranty expressed |
15 * This material is provided "as is", with absolutely no warranty expressed |
16 * or implied. Any use is at your own risk. |
16 * or implied. Any use is at your own risk. |
17 * |
17 * |
18 * Permission to use or copy this software for any purpose is hereby granted |
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. |
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, |
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 |
21 * provided the above notices are retained, and a notice that the code was |
22 * modified is included with the above copyright notice. |
22 * modified is included with the above copyright notice. |
23 * |
23 * |
24 */ |
24 */ |
25 |
25 |
26 #ifndef _STLP_ALGORITHM |
26 #ifndef _STLP_ALGORITHM |
27 #define _STLP_ALGORITHM |
27 #define _STLP_ALGORITHM |
28 |
28 |
29 # ifndef _STLP_OUTERMOST_HEADER_ID |
29 #ifndef _STLP_OUTERMOST_HEADER_ID |
30 # define _STLP_OUTERMOST_HEADER_ID 0x1 |
30 # define _STLP_OUTERMOST_HEADER_ID 0x1 |
31 # include <stl/_prolog.h> |
31 # include <stl/_prolog.h> |
32 # endif |
32 #endif |
33 |
33 |
34 #ifdef _STLP_PRAGMA_ONCE |
34 #ifdef _STLP_PRAGMA_ONCE |
35 # pragma once |
35 # pragma once |
36 #endif |
36 #endif |
37 |
37 |
38 # if ! defined (_STLP_USE_NAMESPACES) |
38 #ifndef _STLP_INTERNAL_CSTDIO |
39 // remove() conflicts, <cstdio> should always go first |
39 // remove() conflicts, <cstdio> should always go first |
40 # include <cstdio> |
40 # include <stl/_cstdio.h> |
41 # endif |
41 #endif |
42 |
42 |
43 # ifndef _STLP_INTERNAL_ALGO_H |
43 #ifndef _STLP_INTERNAL_ALGO_H |
44 # include <stl/_algo.h> |
44 # include <stl/_algo.h> |
45 # endif |
45 #endif |
46 |
46 |
47 #if defined (_STLP_IMPORT_VENDOR_STD) |
47 #if defined (_STLP_IMPORT_VENDOR_STD) |
48 # include _STLP_NATIVE_HEADER(algorithm) |
48 # include _STLP_NATIVE_HEADER(algorithm) |
49 #endif /* _STLP_IMPORT_VENDOR_STD */ |
49 #endif /* _STLP_IMPORT_VENDOR_STD */ |
50 |
50 |
51 # if (_STLP_OUTERMOST_HEADER_ID == 0x1 ) |
51 #if (_STLP_OUTERMOST_HEADER_ID == 0x1 ) |
52 # include <stl/_epilog.h> |
52 # include <stl/_epilog.h> |
53 # undef _STLP_OUTERMOST_HEADER_ID |
53 # undef _STLP_OUTERMOST_HEADER_ID |
54 # endif |
54 #endif |
55 |
55 |
56 #endif /* _STLP_ALGORITHM */ |
56 #endif /* _STLP_ALGORITHM */ |
57 |
57 |
58 // Local Variables: |
58 // Local Variables: |
59 // mode:C++ |
59 // mode:C++ |