epoc32/include/stdapis/stlportv5/mem.h
branchSymbian3
changeset 4 837f303aceeb
parent 3 e1b950c65cb4
equal deleted inserted replaced
3:e1b950c65cb4 4:837f303aceeb
     1 /*
     1 /*
     2  * Copyright (c) 1999 
     2  * Copyright (c) 1999
     3  * Boris Fomitchev
     3  * Boris Fomitchev
     4  *
     4  *
     5  * This material is provided "as is", with absolutely no warranty expressed
     5  * This material is provided "as is", with absolutely no warranty expressed
     6  * or implied. Any use is at your own risk.
     6  * or implied. Any use is at your own risk.
     7  *
     7  *
     8  * Permission to use or copy this software for any purpose is hereby granted 
     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.
     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,
    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
    11  * provided the above notices are retained, and a notice that the code was
    12  * modified is included with the above copyright notice.
    12  * modified is included with the above copyright notice.
    13  *
    13  *
    14  */
    14  */
    15 
    15 
    16 // Boris : highly questionable header for BC++
       
    17 
       
    18 #ifndef _STLP_mem_h
    16 #ifndef _STLP_mem_h
    19 
    17 
    20 # if !defined (_STLP_OUTERMOST_HEADER_ID)
    18 #if !defined (_STLP_OUTERMOST_HEADER_ID)
    21 #  define _STLP_OUTERMOST_HEADER_ID 0x245
    19 #  define _STLP_OUTERMOST_HEADER_ID 0x245
    22 #  include <stl/_prolog.h>
    20 #  include <stl/_prolog.h>
    23 # elif (_STLP_OUTERMOST_HEADER_ID == 0x245) && ! defined (_STLP_DONT_POP_0x245)
    21 #elif (_STLP_OUTERMOST_HEADER_ID == 0x245) && !defined (_STLP_DONT_POP_HEADER_ID)
    24 #  define _STLP_DONT_POP_0x245
    22 #  define _STLP_DONT_POP_HEADER_ID
    25 # endif
       
    26 
       
    27 # if (__BORLANDC__ > 0x530) && !defined(__linux__)
       
    28 #  include <rw/stddefs.h>
       
    29 # endif
       
    30 
       
    31 #   undef __USING_CNAME__
       
    32 
       
    33 #ifdef __SYMBIAN32__
       
    34 #  include <mem.h>
       
    35 #else
       
    36 #  include _STLP_NATIVE_C_HEADER(mem.h)
       
    37 #endif
    23 #endif
    38 
    24 
       
    25 #if (_STLP_OUTERMOST_HEADER_ID != 0x245) || defined (_STLP_DONT_POP_HEADER_ID)
       
    26 #  include _STLP_NATIVE_C_HEADER(mem.h)
       
    27 #else
       
    28 #  if defined (__BORLANDC__) && defined (__USING_CNAME__)
       
    29 #    define _USING_CNAME_WAS_UNDEFINED
       
    30 #    undef __USING_CNAME__
       
    31 #  endif
    39 
    32 
    40 # define _STLP_mem_h 1
    33 #  include _STLP_NATIVE_C_HEADER(mem.h)
    41 
    34 
    42 # if (_STLP_OUTERMOST_HEADER_ID == 0x245)
    35 #  if defined (__BORLANDC__) && defined (_USING_CNAME_WAS_UNDEFINED)
    43 #  if ! defined (_STLP_DONT_POP_0x245)
    36 #    define __USING_CNAME__
    44 #   include <stl/_epilog.h>
    37 #    define _STLP_mem_h 1
    45 #   undef  _STLP_OUTERMOST_HEADER_ID
    38 #    undef _USING_CNAME_WAS_UNDEFINED
    46 #   endif
    39 #  endif
    47 #   undef  _STLP_DONT_POP_0x245
    40 #endif
    48 # endif
    41 
       
    42 #if (_STLP_OUTERMOST_HEADER_ID == 0x245)
       
    43 #  if !defined (_STLP_DONT_POP_HEADER_ID)
       
    44 #    include <stl/_epilog.h>
       
    45 #    undef  _STLP_OUTERMOST_HEADER_ID
       
    46 #  endif
       
    47 #  undef  _STLP_DONT_POP_HEADER_ID
       
    48 #endif
    49 
    49 
    50 #endif /* _STLP_mem_h */
    50 #endif /* _STLP_mem_h */
    51 
    51 
    52 // #endif /* NATIVE */
    52 /* Local Variables:
    53 // Local Variables:
    53  * mode:C++
    54 // mode:C++
    54  * End:
    55 // End:
    55  */
    56