epoc32/include/stdapis/stlport/new
author William Roberts <williamr@symbian.org>
Tue, 16 Mar 2010 16:12:26 +0000
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
permissions -rw-r--r--
Final list of Symbian^2 public API header files
     1 /*
     2  * Copyright (c) 1999 
     3  * Boris Fomitchev
     4  *
     5  * This material is provided "as is", with absolutely no warranty expressed
     6  * or implied. Any use is at your own risk.
     7  *
     8  * Permission to use or copy this software for any purpose is hereby granted 
     9  * without fee, provided the above notices are retained on all copies.
    10  * Permission to modify the code and to distribute modified code is granted,
    11  * provided the above notices are retained, and a notice that the code was
    12  * modified is included with the above copyright notice.
    13  *
    14  */
    15 
    16 #ifndef _STLP_NEW_HEADER
    17 # define _STLP_NEW_HEADER
    18 
    19 # ifndef _STLP_OUTERMOST_HEADER_ID
    20 #  define _STLP_OUTERMOST_HEADER_ID 0x447
    21 #  include <stl/_prolog.h>
    22 # endif
    23 
    24 #ifndef _STLP_CSTDDEF
    25 // size_t
    26 # include <cstddef>
    27 #endif
    28 
    29 #if defined (__BORLANDC__) && (__BORLANDC__ > 0x520)
    30 // new.h uses ::malloc ;(
    31 # include <cstdlib>
    32 using _STLP_VENDOR_CSTD::malloc;
    33 #endif
    34 
    35 #ifdef __SYMBIAN32__
    36 # include <cstdlib>
    37 #else
    38 # if !defined (_STLP_NO_NEW_NEW_HEADER)
    39 #   include _STLP_NATIVE_CPP_RUNTIME_HEADER(new)
    40 #  else
    41 #   include  <new.h>
    42 # endif
    43 #endif
    44 
    45 #ifndef _STLP_NEW_H_HEADER
    46 # include <stl/_new.h>
    47 #endif
    48 
    49 # if (_STLP_OUTERMOST_HEADER_ID == 0x447)
    50 #  include <stl/_epilog.h>
    51 #  undef _STLP_OUTERMOST_HEADER_ID
    52 # endif
    53 
    54 #endif /* _STLP_NEW */
    55 
    56 // Local Variables:
    57 // mode:C++
    58 // End: