1 /* |
1 /* |
2 * Copyright (c) 1997-1999 |
2 * Copyright (c) 1997-1999 |
3 * Silicon Graphics Computer Systems, Inc. |
3 * Silicon Graphics Computer Systems, Inc. |
4 * |
4 * |
5 * Copyright (c) 1999 |
5 * Copyright (c) 1999 |
6 * Boris Fomitchev |
6 * Boris Fomitchev |
7 * |
7 * |
8 * This material is provided "as is", with absolutely no warranty expressed |
8 * This material is provided "as is", with absolutely no warranty expressed |
9 * or implied. Any use is at your own risk. |
9 * or implied. Any use is at your own risk. |
10 * |
10 * |
11 * Permission to use or copy this software for any purpose is hereby granted |
11 * Permission to use or copy this software for any purpose is hereby granted |
12 * without fee, provided the above notices are retained on all copies. |
12 * without fee, provided the above notices are retained on all copies. |
13 * Permission to modify the code and to distribute modified code is granted, |
13 * Permission to modify the code and to distribute modified code is granted, |
14 * provided the above notices are retained, and a notice that the code was |
14 * provided the above notices are retained, and a notice that the code was |
15 * modified is included with the above copyright notice. |
15 * modified is included with the above copyright notice. |
16 * |
16 * |
17 */ |
17 */ |
18 |
18 |
19 #ifndef _STLP_MEMORY |
19 #ifndef _STLP_MEMORY |
20 # define _STLP_MEMORY |
20 #define _STLP_MEMORY |
21 |
21 |
22 # ifndef _STLP_OUTERMOST_HEADER_ID |
22 #ifndef _STLP_OUTERMOST_HEADER_ID |
23 # define _STLP_OUTERMOST_HEADER_ID 0x46 |
23 # define _STLP_OUTERMOST_HEADER_ID 0x46 |
24 # include <stl/_prolog.h> |
24 # include <stl/_prolog.h> |
25 # endif |
25 #endif |
26 |
26 |
27 # ifdef _STLP_PRAGMA_ONCE |
27 #ifdef _STLP_PRAGMA_ONCE |
28 # pragma once |
28 # pragma once |
29 # endif |
29 #endif |
30 |
30 |
31 # ifndef _STLP_INTERNAL_ALLOC_H |
31 #ifndef _STLP_INTERNAL_ALLOC_H |
32 # include <stl/_alloc.h> |
32 # include <stl/_alloc.h> |
33 # endif |
33 #endif |
34 |
34 |
35 # ifndef _STLP_INTERNAL_TEMPBUF_H |
35 #ifndef _STLP_INTERNAL_TEMPBUF_H |
36 # include <stl/_tempbuf.h> |
36 # include <stl/_tempbuf.h> |
37 # endif |
37 #endif |
38 |
38 |
39 # ifndef _STLP_INTERNAL_RAW_STORAGE_ITER_H |
39 #ifndef _STLP_INTERNAL_RAW_STORAGE_ITER_H |
40 # include <stl/_raw_storage_iter.h> |
40 # include <stl/_raw_storage_iter.h> |
41 # endif |
41 #endif |
42 |
42 |
43 # include <stl/_auto_ptr.h> |
43 #include <stl/_auto_ptr.h> |
44 |
44 |
45 # if defined (_STLP_IMPORT_VENDOR_STD) |
45 #if defined (_STLP_IMPORT_VENDOR_STD) |
46 |
46 |
47 # if defined (__MSL__) |
47 # if defined (__MSL__) |
48 # include _STLP_NATIVE_HEADER(limits) |
48 # include _STLP_NATIVE_HEADER(limits) |
49 # endif |
49 # endif |
50 |
50 |
51 # include _STLP_NATIVE_HEADER(memory) |
51 # include _STLP_NATIVE_HEADER(memory) |
52 |
52 |
53 # if defined (__MSL__) && (__MSL__ >= 0x2405 && __MSL__ < 0x5201) |
53 # if defined (__MSL__) && (__MSL__ >= 0x2405 && __MSL__ < 0x5201) |
54 /* 980401 vss MSL 2.4 Pro 3 Release */ |
54 /* 980401 vss MSL 2.4 Pro 3 Release */ |
55 # include <new_mem.h> |
55 # include <new_mem.h> |
56 # endif |
56 # endif |
57 |
57 |
58 # endif |
58 #endif |
59 |
59 |
60 # if (_STLP_OUTERMOST_HEADER_ID == 0x46) |
60 #if (_STLP_OUTERMOST_HEADER_ID == 0x46) |
61 # include <stl/_epilog.h> |
61 # include <stl/_epilog.h> |
62 # undef _STLP_OUTERMOST_HEADER_ID |
62 # undef _STLP_OUTERMOST_HEADER_ID |
63 # endif |
63 #endif |
64 |
64 |
65 #endif /* _STLP_MEMORY */ |
65 #endif /* _STLP_MEMORY */ |
66 |
66 |
67 // Local Variables: |
67 // Local Variables: |
68 // mode:C++ |
68 // mode:C++ |