epoc32/include/tools/stlport/new.h
branchSymbian3
changeset 4 837f303aceeb
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/epoc32/include/tools/stlport/new.h	Wed Mar 31 12:33:34 2010 +0100
     1.3 @@ -0,0 +1,48 @@
     1.4 +/*
     1.5 + * Copyright (c) 1999
     1.6 + * Boris Fomitchev
     1.7 + *
     1.8 + * This material is provided "as is", with absolutely no warranty expressed
     1.9 + * or implied. Any use is at your own risk.
    1.10 + *
    1.11 + * Permission to use or copy this software for any purpose is hereby granted
    1.12 + * without fee, provided the above notices are retained on all copies.
    1.13 + * Permission to modify the code and to distribute modified code is granted,
    1.14 + * provided the above notices are retained, and a notice that the code was
    1.15 + * modified is included with the above copyright notice.
    1.16 + *
    1.17 + */
    1.18 +
    1.19 +#if !defined (_STLP_OUTERMOST_HEADER_ID)
    1.20 +#  define _STLP_OUTERMOST_HEADER_ID 0x848
    1.21 +#  include <stl/_prolog.h>
    1.22 +#elif (_STLP_OUTERMOST_HEADER_ID == 0x848) && ! defined (_STLP_DONT_POP_HEADER_ID)
    1.23 +#  define _STLP_DONT_POP_HEADER_ID
    1.24 +#endif
    1.25 +
    1.26 +#if !defined(_STLP_NO_NEW_HEADER)
    1.27 +#  if defined (__BORLANDC__)
    1.28 +#    include <new>
    1.29 +#  elif defined(__INTEL_COMPILER) && (__INTEL_COMPILER >= 800 && !defined(_MSC_VER))
    1.30 +#    include _STLP_NATIVE_OLD_STREAMS_HEADER(new.h)
    1.31 +#  else
    1.32 +#    if defined (__GNUC__) && (__GNUC__ >= 3)
    1.33 +#      include _STLP_NATIVE_OLD_STREAMS_HEADER(new.h)
    1.34 +#    else
    1.35 +#      include _STLP_NATIVE_CPP_RUNTIME_HEADER(new.h)
    1.36 +#    endif
    1.37 +#  endif
    1.38 +#endif /* !defined(_STLP_NO_NEW_HEADER) */
    1.39 +
    1.40 +#if (_STLP_OUTERMOST_HEADER_ID == 0x848)
    1.41 +#  if ! defined (_STLP_DONT_POP_HEADER_ID)
    1.42 +#    include <stl/_epilog.h>
    1.43 +#    undef  _STLP_OUTERMOST_HEADER_ID
    1.44 +#  else
    1.45 +#    undef  _STLP_DONT_POP_HEADER_ID
    1.46 +#  endif
    1.47 +#endif
    1.48 +
    1.49 +// Local Variables:
    1.50 +// mode:C++
    1.51 +// End: