epoc32/include/stdapis/stlport/new.h
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
child 4 837f303aceeb
     1.1 --- a/epoc32/include/stdapis/stlport/new.h	Tue Nov 24 13:55:44 2009 +0000
     1.2 +++ b/epoc32/include/stdapis/stlport/new.h	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -1,1 +1,54 @@
     1.4 -new.h
     1.5 +/*
     1.6 + * © Portions copyright (c) 2006-2007 Nokia Corporation.  All rights reserved.
     1.7 + *
     1.8 + * Copyright (c) 1999 
     1.9 + * Boris Fomitchev
    1.10 + *
    1.11 + * This material is provided "as is", with absolutely no warranty expressed
    1.12 + * or implied. Any use is at your own risk.
    1.13 + *
    1.14 + * Permission to use or copy this software for any purpose is hereby granted 
    1.15 + * without fee, provided the above notices are retained on all copies.
    1.16 + * Permission to modify the code and to distribute modified code is granted,
    1.17 + * provided the above notices are retained, and a notice that the code was
    1.18 + * modified is included with the above copyright notice.
    1.19 + *
    1.20 + */
    1.21 +
    1.22 +#ifndef _STLP_NEW_H
    1.23 +#define _STLP_NEW_H
    1.24 +
    1.25 +# if !defined (_STLP_OUTERMOST_HEADER_ID)
    1.26 +#  define _STLP_OUTERMOST_HEADER_ID 0x848
    1.27 +#  include <stl/_prolog.h>
    1.28 +# elif (_STLP_OUTERMOST_HEADER_ID == 0x848) && ! defined (_STLP_DONT_POP_0x848)
    1.29 +#  define _STLP_DONT_POP_0x848
    1.30 +# endif
    1.31 +
    1.32 +# if (!(defined( _STLP_WINCE ) || defined (__SYMBIAN32__)) 
    1.33 +# if defined (__BORLANDC__)
    1.34 +#  include <new.>
    1.35 +# elif (__INTEL_COMPILER >= 800)
    1.36 +#   include _STLP_NATIVE_OLD_STREAMS_HEADER(new.h)
    1.37 +# else
    1.38 +#  if defined (__GNUC__) && (__GNUC__ >=3)
    1.39 +#   include _STLP_NATIVE_OLD_STREAMS_HEADER(new.h)
    1.40 +#  else
    1.41 +#   include _STLP_NATIVE_CPP_RUNTIME_HEADER(new.h)
    1.42 +#  endif
    1.43 +# endif
    1.44 +# endif /* STL_WINCE */
    1.45 +
    1.46 +# if (_STLP_OUTERMOST_HEADER_ID == 0x848)
    1.47 +#  if ! defined (_STLP_DONT_POP_0x848)
    1.48 +#   include <stl/_epilog.h>
    1.49 +#   undef  _STLP_OUTERMOST_HEADER_ID
    1.50 +#   endif
    1.51 +#   undef  _STLP_DONT_POP_0x848
    1.52 +# endif
    1.53 +
    1.54 +#endif //_STLP_NEW_H
    1.55 +
    1.56 +// Local Variables:
    1.57 +// mode:C++
    1.58 +// End: