mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-09-11 11:25:40 +03:00
Fix a compile error I missed when developing on OS X.
This commit is contained in:
parent
6540c4d8ac
commit
ae60572123
@ -2,6 +2,7 @@
|
||||
|
||||
#include <cstring>
|
||||
#include <cstdlib>
|
||||
#include <cstdio>
|
||||
#include <iostream>
|
||||
|
||||
GzFileBuf::GzFileBuf(const char* filename) {
|
||||
@ -50,7 +51,7 @@ int GzFileBuf::underflow() {
|
||||
kBufSize - sizeof(int));
|
||||
if (num <= 0) {
|
||||
// ERROR or EOF
|
||||
return EOF;
|
||||
return EOF; // NOTE: the macro EOF defined in stdio.h
|
||||
}
|
||||
|
||||
// reset m_buf pointers
|
||||
|
Loading…
Reference in New Issue
Block a user