• Rob Swindell's avatar
    Fix FreeBSD/Clang C++ error · 2465ac46
    Rob Swindell authored
    /usr/include/c++/v1/iterator:1168:87: error: expected unqualified-id
      ...&& traits_type::eq_int_type(__sbuf_->sputc(__c), traits_type::eof()))
                                                                       ^
    /src/sbbs3/../xpdev/filewrap.h:124:21: note:
    
          expanded from macro 'eof'
            #define eof(fd)                         (tell(fd)==filelength(fd))
      
    2465ac46
filewrap.h 4.85 KB