home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / stl453up.zip / stl453fx / stlport / stdio.h < prev    next >
C/C++ Source or Header  |  2002-04-29  |  1KB  |  48 lines

  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_OUTERMOST_HEADER_ID
  17. #  define _STLP_OUTERMOST_HEADER_ID 0x264
  18. #  include <stl/_prolog.h>
  19. # endif
  20.  
  21. # if ! defined (_STLP_WINCE)
  22. # include _STLP_NATIVE_C_HEADER(stdio.h)
  23.  
  24. #if defined (__SUNPRO_CC) && !defined (_STRUCT_FILE)
  25. # define _STRUCT_FILE
  26. #endif
  27.  
  28. # ifdef __MWERKS__
  29. #  undef stdin
  30. #  undef stdout
  31. #  undef stderr
  32.  
  33. #  define stdin      (&_STLP_VENDOR_CSTD::__files[0])
  34. #  define stdout    (&_STLP_VENDOR_CSTD::__files[1])
  35. #  define stderr    (&_STLP_VENDOR_CSTD::__files[2])
  36. # endif
  37.  
  38. # endif /* WINCE */
  39.  
  40. # if (_STLP_OUTERMOST_HEADER_ID == 0x264)
  41. #  include <stl/_epilog.h>
  42. #  undef _STLP_OUTERMOST_HEADER_ID
  43. # endif
  44.  
  45. // Local Variables:
  46. // mode:C++
  47. // End:
  48.