fixed bug where read would not be called
This commit is contained in:
parent
2165710720
commit
d249f3ae6c
@ -9,14 +9,17 @@
|
||||
#include "libscio.hpp"
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#include <io.h>
|
||||
#include <io.h>
|
||||
#else
|
||||
#include <unistd.h>
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
using namespace sc::io;
|
||||
|
||||
std::streambuf::int_type fdinbuf::uflow() {
|
||||
if (_ch == EOF) {
|
||||
return underflow();
|
||||
}
|
||||
return _ch;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user