epoc32/include/stdapis/stlportv5/cassert
branchSymbian3
changeset 4 837f303aceeb
parent 3 e1b950c65cb4
equal deleted inserted replaced
3:e1b950c65cb4 4:837f303aceeb
     1 /*
     1 /*
     2  * © Portions copyright (c) 2006-2007 Nokia Corporation.  All rights reserved.
     2  * Copyright (c) 1999
     3  *
       
     4  * Copyright (c) 1999 
       
     5  * Boris Fomitchev
     3  * Boris Fomitchev
     6  *
     4  *
     7  * This material is provided "as is", with absolutely no warranty expressed
     5  * This material is provided "as is", with absolutely no warranty expressed
     8  * or implied. Any use is at your own risk.
     6  * or implied. Any use is at your own risk.
     9  *
     7  *
    10  * 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
    11  * without fee, provided the above notices are retained on all copies.
     9  * without fee, provided the above notices are retained on all copies.
    12  * 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,
    13  * 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
    14  * modified is included with the above copyright notice.
    12  * modified is included with the above copyright notice.
    15  *
    13  *
    16  */
    14  */
    17 
    15 
    18 # ifndef _STLP_OUTERMOST_HEADER_ID
    16 #ifndef _STLP_OUTERMOST_HEADER_ID
    19 #  define _STLP_OUTERMOST_HEADER_ID 0x103
    17 #  define _STLP_OUTERMOST_HEADER_ID 0x103
    20 #  include <stl/_prolog.h>
    18 #  include <stl/_prolog.h>
    21 # endif
    19 #elif (_STLP_OUTERMOST_HEADER_ID == 0x103) && ! defined (_STLP_DONT_POP_HEADER_ID)
       
    20 #   define _STLP_DONT_POP_HEADER_ID
       
    21 #endif
    22 
    22 
       
    23 #if !defined (_STLP_WCE_EVC3)
       
    24 #  if defined (_STLP_USE_NEW_C_HEADERS)
       
    25 #    include _STLP_NATIVE_CPP_C_HEADER(cassert)
       
    26 #  else
       
    27 #    include <assert.h>
       
    28 #  endif
       
    29 #endif
    23 
    30 
    24 # if defined (_STLP_USE_NEW_C_HEADERS) || defined (__IN_STLPORT_CASSERT)
    31 #if (_STLP_OUTERMOST_HEADER_ID == 0x103 )
    25 #  include _STLP_NATIVE_CPP_C_HEADER(cassert)
    32 #  if !defined (_STLP_DONT_POP_HEADER_ID)
    26 # else
    33 #    include <stl/_epilog.h>
    27 #  include <assert.h>
    34 #    undef _STLP_OUTERMOST_HEADER_ID
    28 # endif
    35 #  else
    29 
    36 #    undef _STLP_DONT_POP_HEADER_ID
    30 
    37 #  endif
    31 # if (_STLP_OUTERMOST_HEADER_ID == 0x103 )
    38 #endif
    32 #  include <stl/_epilog.h>
       
    33 #  undef _STLP_OUTERMOST_HEADER_ID
       
    34 # endif
       
    35 
       
    36 
    39 
    37 // Local Variables:
    40 // Local Variables:
    38 // mode:C++
    41 // mode:C++
    39 // End:
    42 // End: