Home | History | Annotate | Download | only in stlport
      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
     19 
     20 #ifndef _STLP_OUTERMOST_HEADER_ID
     21 #  define _STLP_OUTERMOST_HEADER_ID 0x1066
     22 #  include <stl/_prolog.h>
     23 #  define _STLP_STREAMBUF
     24 #endif
     25 
     26 #if (_STLP_OUTERMOST_HEADER_ID == 0x1066) && \
     27    !(defined (_STLP_NO_IOSTREAMS) && defined (_STLP_IMPORT_VENDOR_STD))
     28 #  include <stl/_ioserr.h>
     29 
     30 #  ifndef _STLP_INTERNAL_STREAMBUF
     31 #    include <stl/_streambuf.h>
     32 #  endif
     33 #endif
     34 
     35 #if (_STLP_OUTERMOST_HEADER_ID != 0x1066) || defined (_STLP_IMPORT_VENDOR_STD)
     36 #  if defined (_STLP_HAS_INCLUDE_NEXT)
     37 #    include_next <streambuf>
     38 #  else
     39 #    include _STLP_NATIVE_HEADER(streambuf)
     40 #  endif
     41 #endif
     42 
     43 #if (_STLP_OUTERMOST_HEADER_ID == 0x1066)
     44 #  include <stl/_epilog.h>
     45 #  undef _STLP_OUTERMOST_HEADER_ID
     46 #endif
     47 
     48 #endif /* _STLP_STREAMBUF */
     49 
     50 // Local Variables:
     51 // mode:C++
     52 // End:
     53