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_QUEUE |
26 #ifndef _STLP_QUEUE |
27 #define _STLP_QUEUE |
27 #define _STLP_QUEUE |
28 |
28 |
29 # ifndef _STLP_OUTERMOST_HEADER_ID |
29 #ifndef _STLP_OUTERMOST_HEADER_ID |
30 # define _STLP_OUTERMOST_HEADER_ID 0x53 |
30 # define _STLP_OUTERMOST_HEADER_ID 0x53 |
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 #ifndef _STLP_INTERNAL_QUEUE_H |
38 #ifndef _STLP_INTERNAL_QUEUE_H |
39 # include <stl/_queue.h> |
39 # include <stl/_queue.h> |
40 #endif |
40 #endif |
41 |
41 |
42 #ifndef _STLP_INTERNAL_FUNCTION_H |
42 #ifndef _STLP_FUNCTIONAL |
43 # include <functional> |
43 # include <functional> |
44 #endif |
44 #endif |
45 |
45 |
46 # if (_STLP_OUTERMOST_HEADER_ID == 0x53) |
46 #if defined (_STLP_IMPORT_VENDOR_STD) |
|
47 # include _STLP_NATIVE_HEADER(queue) |
|
48 #endif |
|
49 |
|
50 #if (_STLP_OUTERMOST_HEADER_ID == 0x53) |
47 # include <stl/_epilog.h> |
51 # include <stl/_epilog.h> |
48 # undef _STLP_OUTERMOST_HEADER_ID |
52 # undef _STLP_OUTERMOST_HEADER_ID |
49 # endif |
53 #endif |
50 |
54 |
51 #endif /* _STLP_QUEUE */ |
55 #endif /* _STLP_QUEUE */ |
52 |
56 |
53 // Local Variables: |
57 // Local Variables: |
54 // mode:C++ |
58 // mode:C++ |