home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / stlpt453.zip / STLport-4.5.3 / stlport / streambuf.h < prev    next >
C/C++ Source or Header  |  2001-08-24  |  1KB  |  64 lines

  1. /*
  2.  * Copyright (c) 1999
  3.  * Silicon Graphics Computer Systems, Inc.
  4.  *
  5.  * Copyright (c) 1999 
  6.  * Boris Fomitchev
  7.  *
  8.  * This material is provided "as is", with absolutely no warranty expressed
  9.  * or implied. Any use is at your own risk.
  10.  *
  11.  * Permission to use or copy this software for any purpose is hereby granted 
  12.  * without fee, provided the above notices are retained on all copies.
  13.  * Permission to modify the code and to distribute modified code is granted,
  14.  * provided the above notices are retained, and a notice that the code was
  15.  * modified is included with the above copyright notice.
  16.  *
  17.  */ 
  18. #ifndef _STLP_STREAMBUF_H
  19. # define _STLP_STREAMBUF_H
  20.  
  21. # ifndef _STLP_OUTERMOST_HEADER_ID
  22. #  define _STLP_OUTERMOST_HEADER_ID 0x2067
  23. #  include <stl/_prolog.h>
  24. # endif
  25.  
  26. # if defined ( _STLP_OWN_IOSTREAMS )
  27.  
  28. #ifdef __BORLANDC__
  29. #  include <streambuf.>
  30. #else
  31. #  include <streambuf>
  32. #endif
  33.  
  34. # include <ios.h>
  35.  
  36. # ifndef _STLP_HAS_NO_NAMESPACES
  37. #  ifdef _STLP_BROKEN_USING_DIRECTIVE
  38.    using namespace _STLP_STD;
  39. #  else
  40. using _STLP_STD::basic_streambuf;
  41. using _STLP_STD::streambuf;
  42. #   ifndef _STLP_NO_WCHAR_T
  43. using _STLP_STD::wstreambuf;
  44. #   endif
  45. #  endif
  46. # endif /* _STLP_HAS_NO_NAMESPACES */
  47.  
  48. # elif !defined (_STLP_USE_NO_IOSTREAMS)
  49.  
  50. # include _STLP_NATIVE_OLD_STREAMS_HEADER(streambuf.h)
  51.  
  52. # endif
  53.  
  54. # if (_STLP_OUTERMOST_HEADER_ID == 0x2067)
  55. #  include <stl/_epilog.h>
  56. #  undef _STLP_OUTERMOST_HEADER_ID
  57. # endif
  58.  
  59. #endif /* _STLP_STREAMBUF_H */
  60.  
  61. // Local Variables:
  62. // mode:C++
  63. // End:
  64.