ossrv_pub/compiler_specific_runtime_support/inc/stdapis/stlport/runtime/new.h
changeset 0 e4d67989cc36
child 27 3a7375419266
equal deleted inserted replaced
-1:000000000000 0:e4d67989cc36
       
     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 # if !defined (_STLP_OUTERMOST_HEADER_ID)
       
    19 #  define _STLP_OUTERMOST_HEADER_ID 0x848
       
    20 #  include <stl/_prolog.h>
       
    21 # elif (_STLP_OUTERMOST_HEADER_ID == 0x848) && ! defined (_STLP_DONT_POP_0x848)
       
    22 #  define _STLP_DONT_POP_0x848
       
    23 # endif
       
    24 
       
    25 #ifndef _STLP_NEW_H
       
    26 #define _STLP_NEW_H
       
    27 
       
    28 
       
    29 # if (!(defined( _STLP_WINCE ) || defined (__SYMBIAN32__)) 
       
    30 # if defined (__BORLANDC__)
       
    31 #  include <new.>
       
    32 # elif (__INTEL_COMPILER >= 800)
       
    33 #   include _STLP_NATIVE_OLD_STREAMS_HEADER(new.h)
       
    34 # else
       
    35 #  if defined (__GNUC__) && (__GNUC__ >=3)
       
    36 #   include _STLP_NATIVE_OLD_STREAMS_HEADER(new.h)
       
    37 #  else
       
    38 #   include _STLP_NATIVE_CPP_RUNTIME_HEADER(new.h)
       
    39 #  endif
       
    40 # endif
       
    41 # endif /* STL_WINCE */
       
    42 
       
    43 #endif //_STLP_NEW_H
       
    44 
       
    45 # if (_STLP_OUTERMOST_HEADER_ID == 0x848)
       
    46 #  if ! defined (_STLP_DONT_POP_0x848)
       
    47 #   include <stl/_epilog.h>
       
    48 #   undef  _STLP_OUTERMOST_HEADER_ID
       
    49 #   endif
       
    50 #   undef  _STLP_DONT_POP_0x848
       
    51 # endif
       
    52 
       
    53 // Local Variables:
       
    54 // mode:C++
       
    55 // End: