8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 20:43:02 +01:00

removed #ifdefs - after latest Vlad's fixes not needed any more

This commit is contained in:
alexpeshkoff 2009-02-03 08:09:52 +00:00
parent 9d54b1a319
commit d0e4a14230

View File

@ -101,9 +101,7 @@ TraceLogImpl::~TraceLogImpl()
ISC_unmap_file(status, &m_handle);
if (m_reader || readerDone) {
#ifdef WIN_NT
unlink(m_baseFileName.c_str());
#endif
}
}
@ -128,11 +126,7 @@ int TraceLogImpl::removeFile(int fileNum)
{
PathName fileName;
fileName.printf("%s.%07ld", m_baseFileName.c_str(), fileNum);
#ifdef WIN_NT
return unlink(fileName.c_str());
#else
return 0;
#endif
}
size_t TraceLogImpl::read(void* buf, size_t size)