1.1 --- a/epoc32/include/stdapis/stlport/runtime/new Tue Nov 24 13:55:44 2009 +0000
1.2 +++ b/epoc32/include/stdapis/stlport/runtime/new Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -1,1 +1,54 @@
1.4 -new
1.5 +/*
1.6 + * Copyright (c) 1999
1.7 + * Boris Fomitchev
1.8 + *
1.9 + * This material is provided "as is", with absolutely no warranty expressed
1.10 + * or implied. Any use is at your own risk.
1.11 + *
1.12 + * Permission to use or copy this software for any purpose is hereby granted
1.13 + * without fee, provided the above notices are retained on all copies.
1.14 + * Permission to modify the code and to distribute modified code is granted,
1.15 + * provided the above notices are retained, and a notice that the code was
1.16 + * modified is included with the above copyright notice.
1.17 + *
1.18 + */
1.19 +
1.20 +#ifndef _STLP_NEW_HEADER
1.21 +# define _STLP_NEW_HEADER
1.22 +
1.23 +# ifndef _STLP_OUTERMOST_HEADER_ID
1.24 +# define _STLP_OUTERMOST_HEADER_ID 0x447
1.25 +# include <stl/_prolog.h>
1.26 +# endif
1.27 +
1.28 +#ifndef _STLP_CSTDDEF
1.29 +// size_t
1.30 +# include <cstddef>
1.31 +#endif
1.32 +
1.33 +#if defined (__BORLANDC__) && (__BORLANDC__ > 0x520)
1.34 +// new.h uses ::malloc ;(
1.35 +# include <cstdlib>
1.36 +using _STLP_VENDOR_CSTD::malloc;
1.37 +#endif
1.38 +
1.39 +# if !defined (_STLP_NO_NEW_NEW_HEADER)
1.40 +# include _STLP_NATIVE_CPP_RUNTIME_HEADER(new)
1.41 +# else
1.42 +# include <new.h>
1.43 +# endif
1.44 +
1.45 +#ifndef _STLP_NEW_H_HEADER
1.46 +# include <stl/_new.h>
1.47 +#endif
1.48 +
1.49 +# if (_STLP_OUTERMOST_HEADER_ID == 0x447)
1.50 +# include <stl/_epilog.h>
1.51 +# undef _STLP_OUTERMOST_HEADER_ID
1.52 +# endif
1.53 +
1.54 +#endif /* _STLP_NEW */
1.55 +
1.56 +// Local Variables:
1.57 +// mode:C++
1.58 +// End: