Fixes for compilation with mingw.

This commit is contained in:
Moritz Bunkus 2003-09-09 14:27:27 +00:00
parent 462e287f33
commit 66fb10b030
2 changed files with 5 additions and 4 deletions

View File

@ -50,6 +50,7 @@ LICENCE: Copyright (c) 2001 Bob Trower, Trantor Standard Systems Inc.
#include <exception>
#include <string>
#include "os.h"
#include "base64.h"
using namespace std;

View File

@ -71,10 +71,6 @@ mm_io_c::~mm_io_c() {
safefree(file_name);
}
const char *mm_io_c::get_file_name() {
return file_name;
}
uint64 mm_io_c::getFilePointer() {
return ftello((FILE *)file);
}
@ -227,6 +223,10 @@ bool mm_io_c::eof() {
#endif
const char *mm_io_c::get_file_name() {
return file_name;
}
string mm_io_c::getline() {
char c;
string s;