#ifndef __SG_STREAMBUF #define __SG_STREAMBUF 1 #if defined(sgi) && !defined(__GNUC__) # include # include # define pubsync sync using std::char_traits; typedef char_traits traits_type; typedef char_traits::int_type int_type; typedef streampos pos_type; typedef streamoff off_type; namespace std { using ::streambuf; using ::streampos; using ::streamoff; }; #endif #endif // !__SG_STREAMBUF