1 new.h |
1 /* |
|
2 * © Portions copyright (c) 2006-2007 Nokia Corporation. All rights reserved. |
|
3 * |
|
4 * Copyright (c) 1999 |
|
5 * Boris Fomitchev |
|
6 * |
|
7 * This material is provided "as is", with absolutely no warranty expressed |
|
8 * or implied. Any use is at your own risk. |
|
9 * |
|
10 * Permission to use or copy this software for any purpose is hereby granted |
|
11 * without fee, provided the above notices are retained on all copies. |
|
12 * Permission to modify the code and to distribute modified code is granted, |
|
13 * provided the above notices are retained, and a notice that the code was |
|
14 * modified is included with the above copyright notice. |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef _STLP_NEW_H |
|
19 #define _STLP_NEW_H |
|
20 |
|
21 # if !defined (_STLP_OUTERMOST_HEADER_ID) |
|
22 # define _STLP_OUTERMOST_HEADER_ID 0x848 |
|
23 # include <stl/_prolog.h> |
|
24 # elif (_STLP_OUTERMOST_HEADER_ID == 0x848) && ! defined (_STLP_DONT_POP_0x848) |
|
25 # define _STLP_DONT_POP_0x848 |
|
26 # endif |
|
27 |
|
28 # if (!(defined( _STLP_WINCE ) || defined (__SYMBIAN32__)) |
|
29 # if defined (__BORLANDC__) |
|
30 # include <new.> |
|
31 # elif (__INTEL_COMPILER >= 800) |
|
32 # include _STLP_NATIVE_OLD_STREAMS_HEADER(new.h) |
|
33 # else |
|
34 # if defined (__GNUC__) && (__GNUC__ >=3) |
|
35 # include _STLP_NATIVE_OLD_STREAMS_HEADER(new.h) |
|
36 # else |
|
37 # include _STLP_NATIVE_CPP_RUNTIME_HEADER(new.h) |
|
38 # endif |
|
39 # endif |
|
40 # endif /* STL_WINCE */ |
|
41 |
|
42 # if (_STLP_OUTERMOST_HEADER_ID == 0x848) |
|
43 # if ! defined (_STLP_DONT_POP_0x848) |
|
44 # include <stl/_epilog.h> |
|
45 # undef _STLP_OUTERMOST_HEADER_ID |
|
46 # endif |
|
47 # undef _STLP_DONT_POP_0x848 |
|
48 # endif |
|
49 |
|
50 #endif //_STLP_NEW_H |
|
51 |
|
52 // Local Variables: |
|
53 // mode:C++ |
|
54 // End: |