ossrv_pub/openc_wrappers/inc/stdapis/stlport/stdio.h
changeset 0 e4d67989cc36
equal deleted inserted replaced
-1:000000000000 0:e4d67989cc36
       
     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 # ifndef _STLP_OUTERMOST_HEADER_ID
       
    19 #  define _STLP_OUTERMOST_HEADER_ID 0x264
       
    20 #  include <stl/_prolog.h>
       
    21 # endif
       
    22 
       
    23 #ifndef _STLP_STDIO_H
       
    24 #define _STLP_STDIO_H
       
    25 
       
    26 # if ! defined (_STLP_WINCE)
       
    27 #ifdef __SYMBIAN32__
       
    28 #  include <stdio.h>
       
    29 #else
       
    30 # include _STLP_NATIVE_C_HEADER(stdio.h)
       
    31 #endif
       
    32 
       
    33 #if defined (__SUNPRO_CC) && !defined (_STRUCT_FILE)
       
    34 # define _STRUCT_FILE
       
    35 #endif
       
    36 
       
    37 # if defined(__MWERKS__) && !defined (__SYMBIAN32__)
       
    38 #  undef stdin
       
    39 #  undef stdout
       
    40 #  undef stderr
       
    41 
       
    42 #  define stdin  	(&_STLP_VENDOR_CSTD::__files[0])
       
    43 #  define stdout	(&_STLP_VENDOR_CSTD::__files[1])
       
    44 #  define stderr	(&_STLP_VENDOR_CSTD::__files[2])
       
    45 # endif
       
    46 
       
    47 # endif /* WINCE */
       
    48 
       
    49 
       
    50 #endif // _STLP_STDIO_H
       
    51 
       
    52 # if (_STLP_OUTERMOST_HEADER_ID == 0x264)
       
    53 #  include <stl/_epilog.h>
       
    54 #  undef _STLP_OUTERMOST_HEADER_ID
       
    55 # endif
       
    56 
       
    57 // Local Variables:
       
    58 // mode:C++
       
    59 // End: