epoc32/include/stdapis/stlport/pthread.h
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
equal deleted inserted replaced
1:666f914201fb 2:2fe1408b6811
     1 pthread.h
     1 /*
       
     2  * © Portions copyright (c) 2006-2007 Nokia Corporation.  All rights reserved.
       
     3  *
       
     4  * Copyright (c) 1999 
       
     5  * Boris Fomitchev
       
     6  *
       
     7  * This material is provided "as is", with absolutely no warranty expressed
       
     8  * or implied. Any use is at your own risk.
       
     9  *
       
    10  * 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.
       
    12  * 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
       
    14  * modified is included with the above copyright notice.
       
    15  *
       
    16  */
       
    17 
       
    18 # if !defined (_STLP_OUTERMOST_HEADER_ID)
       
    19 #  define _STLP_OUTERMOST_HEADER_ID 0x280
       
    20 #  include <stl/_prolog.h>
       
    21 # elif (_STLP_OUTERMOST_HEADER_ID == 0x280) && ! defined (_STLP_DONT_POP_0x280)
       
    22 #  define _STLP_DONT_POP_0x280
       
    23 # endif
       
    24 
       
    25 #ifndef _STLP_PTHREAD_H
       
    26 #define _STLP_PTHREAD_H
       
    27 
       
    28 # if defined (__SUNPRO_CC) || defined (__HP_aCC)
       
    29 # include "/usr/include/pthread.h"
       
    30 # else
       
    31 #ifdef __SYMBIAN32__
       
    32 #  include <pthread.h>
       
    33 #else
       
    34 #  include _STLP_NATIVE_C_HEADER(pthread.h)
       
    35 #endif
       
    36 # endif
       
    37 
       
    38 
       
    39 #endif // _STLP_PTHREAD_H
       
    40 
       
    41 # if (_STLP_OUTERMOST_HEADER_ID == 0x280)
       
    42 #  if ! defined (_STLP_DONT_POP_0x280)
       
    43 #   include <stl/_epilog.h>
       
    44 #   undef  _STLP_OUTERMOST_HEADER_ID
       
    45 #  endif
       
    46 #  undef  _STLP_DONT_POP_0x280
       
    47 # endif
       
    48 
       
    49 
       
    50 // Local Variables:
       
    51 // mode:C++
       
    52 // End: